home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / Technical Docs / Inside Macintosh / New Inside Mac - draft / Macintosh Toolbox < prev    next >
MacBinary  |  1992-01-14  |  3.0 MB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Jan 13 05:29:37 1992, modified Tue Jan 14 12:09:24 1992, creator 'HLX2', type 'ONLN', 3058323 bytes "Macintosh Toolbox" , at 0x2eab13 55899 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 4d 61 63 69 6e 74 | 6f 73 68 20 54 6f 6f 6c |..Macint|osh Tool|
|00000010| 62 6f 78 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |box.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 2e aa 93 00 | 00 da 5b a5 97 1a 91 a5 |........|..[.....|
|00000060| 98 c9 c4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6d 8a 00 00 |........|....m...|
|00000080| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|00000090| 3a 0d 4d 61 63 69 6e 74 | 6f 73 68 20 54 6f 6f 6c |:.Macint|osh Tool|
|000000a0| 62 6f 78 0d f0 09 41 70 | 70 6c 65 20 43 6f 6d 70 |box...Ap|ple Comp|
|000000b0| 75 74 65 72 2c 20 49 6e | 63 2e 20 0d a9 20 31 39 |uter, In|c. .. 19|
|000000c0| 39 31 2c 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |91, Appl|e Comput|
|000000d0| 65 72 2c 20 49 6e 63 2e | 0d 41 6c 6c 20 72 69 67 |er, Inc.|.All rig|
|000000e0| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 0d 50 72 |hts rese|rved..Pr|
|000000f0| 69 6e 74 65 64 20 69 6e | 20 74 68 65 20 55 6e 69 |inted in| the Uni|
|00000100| 74 65 64 20 53 74 61 74 | 65 73 20 6f 66 20 0d 41 |ted Stat|es of .A|
|00000110| 6d 65 72 69 63 61 2e 0d | 54 68 65 20 41 70 70 6c |merica..|The Appl|
|00000120| 65 20 6c 6f 67 6f 20 69 | 73 20 61 20 72 65 67 69 |e logo i|s a regi|
|00000130| 73 74 65 72 65 64 20 74 | 72 61 64 65 6d 61 72 6b |stered t|rademark|
|00000140| 20 6f 66 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 | of Appl|e Comput|
|00000150| 65 72 2c 20 49 6e 63 2e | 20 55 73 65 20 6f 66 20 |er, Inc.| Use of |
|00000160| 74 68 65 20 d2 6b 65 79 | 62 6f 61 72 64 d3 20 0d |the .key|board. .|
|00000170| 41 70 70 6c 65 20 6c 6f | 67 6f 20 28 4f 70 74 69 |Apple lo|go (Opti|
|00000180| 6f 6e 2d 53 68 69 66 74 | 2d 4b 29 20 66 6f 72 20 |on-Shift|-K) for |
|00000190| 63 6f 6d 6d 65 72 63 69 | 61 6c 20 70 75 72 70 6f |commerci|al purpo|
|000001a0| 73 65 73 20 77 69 74 68 | 6f 75 74 20 74 68 65 20 |ses with|out the |
|000001b0| 70 72 69 6f 72 20 77 72 | 69 74 74 65 6e 20 63 6f |prior wr|itten co|
|000001c0| 6e 73 65 6e 74 20 6f 66 | 20 0d 41 70 70 6c 65 20 |nsent of| .Apple |
|000001d0| 6d 61 79 20 63 6f 6e 73 | 74 69 74 75 74 65 20 74 |may cons|titute t|
|000001e0| 72 61 64 65 6d 61 72 6b | 20 69 6e 66 72 69 6e 67 |rademark| infring|
|000001f0| 65 6d 65 6e 74 20 61 6e | 64 20 75 6e 66 61 69 72 |ement an|d unfair|
|00000200| 20 63 6f 6d 70 65 2d 74 | 69 74 69 6f 6e 20 69 6e | compe-t|ition in|
|00000210| 20 76 69 6f 6c 61 74 69 | 6f 6e 20 6f 66 20 66 65 | violati|on of fe|
|00000220| 64 65 72 61 6c 20 61 6e | 64 20 73 74 61 74 65 20 |deral an|d state |
|00000230| 6c 61 77 73 2e 0d 41 70 | 70 6c 65 20 43 6f 6d 70 |laws..Ap|ple Comp|
|00000240| 75 74 65 72 2c 20 49 6e | 63 2e 20 0d 32 30 35 32 |uter, In|c. .2052|
|00000250| 35 20 4d 61 72 69 61 6e | 69 20 41 76 65 6e 75 65 |5 Marian|i Avenue|
|00000260| 20 20 0d 43 75 70 65 72 | 74 69 6e 6f 2c 20 43 41 | .Cuper|tino, CA|
|00000270| 20 20 39 35 30 31 34 2d | 36 32 39 39 0d 34 30 38 | 95014-|6299.408|
|00000280| 2d 39 39 36 2d 31 30 31 | 30 20 20 0d 41 70 70 6c |-996-101|0 .Appl|
|00000290| 65 2c 20 74 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |e, the A|pple log|
|000002a0| 6f 2c 20 41 50 44 41 2c | 20 41 70 70 6c 65 4c 69 |o, APDA,| AppleLi|
|000002b0| 6e 6b 2c 20 41 70 70 6c | 65 53 68 61 72 65 2c 20 |nk, Appl|eShare, |
|000002c0| 0d 41 70 70 6c 65 54 61 | 6c 6b 2c 20 41 70 70 6c |.AppleTa|lk, Appl|
|000002d0| 65 20 49 49 47 53 2c 20 | 41 2f 55 58 2c 20 45 74 |e IIGS, |A/UX, Et|
|000002e0| 68 65 72 54 61 6c 6b 2c | 20 48 79 70 65 72 43 61 |herTalk,| HyperCa|
|000002f0| 72 64 2c 20 48 79 70 65 | 72 2d 54 61 6c 6b 2c 20 |rd, Hype|r-Talk, |
|00000300| 49 6d 61 67 65 57 72 69 | 74 65 72 2c 20 4c 61 73 |ImageWri|ter, Las|
|00000310| 65 72 57 72 69 74 65 72 | 2c 20 4c 6f 63 61 6c 54 |erWriter|, LocalT|
|00000320| 61 6c 6b 2c 20 4d 61 63 | 2c 20 4d 61 63 69 6e 74 |alk, Mac|, Macint|
|00000330| 6f 73 68 2c 20 4d 50 57 | 2c 20 4d 75 6c 74 69 46 |osh, MPW|, MultiF|
|00000340| 69 6e 64 65 72 2c 20 53 | 41 4e 45 2c 20 61 6e 64 |inder, S|ANE, and|
|00000350| 20 54 6f 6b 65 6e 54 61 | 6c 6b 20 61 72 65 20 72 | TokenTa|lk are r|
|00000360| 65 67 69 73 74 65 72 65 | 64 20 74 72 61 64 65 2d |egistere|d trade-|
|00000370| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|00000380| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 41 70 |omputer,| Inc..Ap|
|00000390| 70 6c 65 20 44 65 73 6b | 74 6f 70 20 42 75 73 2c |ple Desk|top Bus,|
|000003a0| 20 42 61 6c 6c 6f 6f 6e | 20 48 65 6c 70 2c 20 46 | Balloon| Help, F|
|000003b0| 69 6e 64 65 72 2c 20 4b | 61 6e 6a 69 54 61 6c 6b |inder, K|anjiTalk|
|000003c0| 2c 20 4d 6f 6f 66 2c 20 | 51 75 69 63 6b 44 72 61 |, Moof, |QuickDra|
|000003d0| 77 2c 20 52 65 73 45 64 | 69 74 2c 20 54 72 75 65 |w, ResEd|it, True|
|000003e0| 54 79 70 65 2c 20 61 6e | 64 20 5a 68 6f 6e 67 2d |Type, an|d Zhong-|
|000003f0| 57 65 6e 20 54 61 6c 6b | 20 61 72 65 20 74 72 61 |Wen Talk| are tra|
|00000400| 64 65 2d 6d 61 72 6b 73 | 20 6f 66 20 41 70 70 6c |de-marks| of Appl|
|00000410| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|00000420| 0d 48 65 6c 76 65 74 69 | 63 61 20 61 6e 64 20 54 |.Helveti|ca and T|
|00000430| 69 6d 65 73 20 61 72 65 | 20 0d 72 65 67 69 73 74 |imes are| .regist|
|00000440| 65 72 65 64 20 74 72 61 | 64 65 6d 61 72 6b 73 20 |ered tra|demarks |
|00000450| 6f 66 20 0d 4c 69 6e 6f | 74 79 70 65 20 43 6f 6d |of .Lino|type Com|
|00000460| 70 61 6e 79 2e 0d 49 54 | 43 20 5a 61 70 66 20 44 |pany..IT|C Zapf D|
|00000470| 69 6e 67 62 61 74 73 20 | 69 73 20 61 20 72 65 67 |ingbats |is a reg|
|00000480| 69 73 74 65 72 65 64 20 | 74 72 61 64 65 6d 61 72 |istered |trademar|
|00000490| 6b 20 6f 66 20 49 6e 74 | 65 72 6e 61 74 69 6f 6e |k of Int|ernation|
|000004a0| 61 6c 20 54 79 70 65 66 | 61 63 65 20 43 6f 72 70 |al Typef|ace Corp|
|000004b0| 6f 72 61 74 69 6f 6e 2e | 0d 4d 61 63 50 61 69 6e |oration.|.MacPain|
|000004c0| 74 20 69 73 20 61 20 72 | 65 67 69 73 74 65 72 65 |t is a r|egistere|
|000004d0| 64 20 74 72 61 64 65 2d | 6d 61 72 6b 20 6f 66 20 |d trade-|mark of |
|000004e0| 43 6c 61 72 69 73 20 43 | 6f 72 70 6f 72 61 74 69 |Claris C|orporati|
|000004f0| 6f 6e 2e 0d 4e 75 42 75 | 73 20 69 73 20 61 20 74 |on..NuBu|s is a t|
|00000500| 72 61 64 65 6d 61 72 6b | 20 6f 66 20 54 65 78 61 |rademark| of Texa|
|00000510| 73 20 0d 49 6e 73 74 72 | 75 6d 65 6e 74 73 2e 0d |s .Instr|uments..|
|00000520| 50 6f 73 74 53 63 72 69 | 70 74 20 69 73 20 61 20 |PostScri|pt is a |
|00000530| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000540| 2d 6d 61 72 6b 2c 20 61 | 6e 64 20 49 6c 6c 75 73 |-mark, a|nd Illus|
|00000550| 74 72 61 74 6f 72 20 69 | 73 20 61 20 0d 74 72 61 |trator i|s a .tra|
|00000560| 64 65 6d 61 72 6b 2c 20 | 6f 66 20 41 64 6f 62 65 |demark, |of Adobe|
|00000570| 20 53 79 73 74 65 6d 73 | 20 0d 49 6e 63 6f 72 70 | Systems| .Incorp|
|00000580| 6f 72 61 74 65 64 2e 0d | 53 6f 6e 79 20 69 73 20 |orated..|Sony is |
|00000590| 61 20 72 65 67 69 73 74 | 65 72 65 64 20 74 72 61 |a regist|ered tra|
|000005a0| 64 65 6d 61 72 6b 20 6f | 66 20 53 6f 6e 79 20 43 |demark o|f Sony C|
|000005b0| 6f 72 70 6f 72 61 74 69 | 6f 6e 2e 0d 55 4e 49 58 |orporati|on..UNIX|
|000005c0| 20 69 73 20 61 20 72 65 | 67 69 73 74 65 72 65 64 | is a re|gistered|
|000005d0| 20 74 72 61 64 65 6d 61 | 72 6b 20 6f 66 20 55 4e | tradema|rk of UN|
|000005e0| 49 58 20 53 79 73 74 65 | 6d 20 4c 61 62 6f 72 61 |IX Syste|m Labora|
|000005f0| 74 6f 72 69 65 73 2c 20 | 49 6e 63 2e 0d 53 69 6d |tories, |Inc..Sim|
|00000600| 75 6c 74 61 6e 65 6f 75 | 73 6c 79 20 70 75 62 6c |ultaneou|sly publ|
|00000610| 69 73 68 65 64 20 69 6e | 20 74 68 65 20 55 6e 69 |ished in| the Uni|
|00000620| 74 65 64 20 53 74 61 74 | 65 73 20 61 6e 64 20 43 |ted Stat|es and C|
|00000630| 61 6e 61 64 61 2e 0d 4c | 69 6d 69 74 65 64 20 57 |anada..L|imited W|
|00000640| 61 72 72 61 6e 74 79 20 | 6f 6e 20 4d 65 64 69 61 |arranty |on Media|
|00000650| 20 61 6e 64 20 52 65 70 | 6c 61 63 65 6d 65 6e 74 | and Rep|lacement|
|00000660| 0d 45 76 65 6e 20 74 68 | 6f 75 67 68 20 41 70 70 |.Even th|ough App|
|00000670| 6c 65 20 68 61 73 20 0d | 72 65 76 69 65 77 65 64 |le has .|reviewed|
|00000680| 20 74 68 69 73 20 6d 61 | 6e 75 61 6c 2c 20 41 50 | this ma|nual, AP|
|00000690| 50 4c 45 20 4d 41 4b 45 | 53 20 4e 4f 20 57 41 52 |PLE MAKE|S NO WAR|
|000006a0| 52 41 4e 54 59 20 4f 52 | 20 52 45 50 52 45 53 45 |RANTY OR| REPRESE|
|000006b0| 4e 54 41 54 49 4f 4e 2c | 20 45 49 54 48 45 52 20 |NTATION,| EITHER |
|000006c0| 45 58 50 52 45 53 53 20 | 4f 52 20 49 4d 50 4c 49 |EXPRESS |OR IMPLI|
|000006d0| 45 44 2c 20 57 49 54 48 | 20 52 45 53 50 45 43 54 |ED, WITH| RESPECT|
|000006e0| 20 54 4f 20 54 48 49 53 | 20 4d 41 4e 55 41 4c 2c | TO THIS| MANUAL,|
|000006f0| 20 49 54 53 20 51 55 41 | 4c 49 54 59 2c 20 41 43 | ITS QUA|LITY, AC|
|00000700| 43 55 52 41 43 59 2c 20 | 4d 45 52 43 48 41 4e 54 |CURACY, |MERCHANT|
|00000710| 2d 41 42 49 4c 49 54 59 | 2c 20 4f 52 20 46 49 54 |-ABILITY|, OR FIT|
|00000720| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI|
|00000730| 43 55 4c 41 52 20 50 55 | 52 50 4f 53 45 2e 20 41 |CULAR PU|RPOSE. A|
|00000740| 53 20 41 20 52 45 53 55 | 4c 54 2c 20 54 48 49 53 |S A RESU|LT, THIS|
|00000750| 20 0d 4d 41 4e 55 41 4c | 20 49 53 20 53 4f 4c 44 | .MANUAL| IS SOLD|
|00000760| 20 d2 41 53 20 0d 49 53 | 2c d3 20 41 4e 44 20 59 | .AS .IS|,. AND Y|
|00000770| 4f 55 2c 20 54 48 45 20 | 50 55 52 2d 43 48 41 53 |OU, THE |PUR-CHAS|
|00000780| 45 52 2c 20 41 52 45 20 | 41 53 53 55 4d 49 4e 47 |ER, ARE |ASSUMING|
|00000790| 20 54 48 45 20 45 4e 54 | 49 52 45 20 52 49 53 4b | THE ENT|IRE RISK|
|000007a0| 20 41 53 20 54 4f 20 49 | 54 53 20 51 55 41 4c 49 | AS TO I|TS QUALI|
|000007b0| 54 59 20 41 4e 44 20 0d | 41 43 43 55 52 41 43 59 |TY AND .|ACCURACY|
|000007c0| 2e 20 20 0d 49 4e 20 4e | 4f 20 45 56 45 4e 54 20 |. .IN N|O EVENT |
|000007d0| 57 49 4c 4c 20 41 50 50 | 4c 45 20 42 45 20 4c 49 |WILL APP|LE BE LI|
|000007e0| 41 42 4c 45 20 46 4f 52 | 20 44 49 52 45 43 54 2c |ABLE FOR| DIRECT,|
|000007f0| 20 0d 49 4e 44 49 52 45 | 43 54 2c 20 53 50 45 43 | .INDIRE|CT, SPEC|
|00000800| 49 41 4c 2c 20 0d 49 4e | 43 49 44 45 4e 54 41 4c |IAL, .IN|CIDENTAL|
|00000810| 2c 20 4f 52 20 43 4f 4e | 53 45 2d 51 55 45 4e 54 |, OR CON|SE-QUENT|
|00000820| 49 41 4c 20 44 41 4d 41 | 47 45 53 20 0d 52 45 53 |IAL DAMA|GES .RES|
|00000830| 55 4c 54 49 4e 47 20 46 | 52 4f 4d 20 41 4e 59 20 |ULTING F|ROM ANY |
|00000840| 0d 44 45 46 45 43 54 20 | 4f 52 20 49 4e 41 43 43 |.DEFECT |OR INACC|
|00000850| 55 52 41 43 59 20 49 4e | 20 54 48 49 53 20 4d 41 |URACY IN| THIS MA|
|00000860| 4e 55 41 4c 2c 20 65 76 | 65 6e 20 69 66 20 61 64 |NUAL, ev|en if ad|
|00000870| 76 69 73 65 64 20 6f 66 | 20 74 68 65 20 70 6f 73 |vised of| the pos|
|00000880| 73 69 62 69 6c 69 74 79 | 20 6f 66 20 73 75 63 68 |sibility| of such|
|00000890| 20 64 61 6d 61 67 65 73 | 2e 20 20 0d 54 48 45 20 | damages|. .THE |
|000008a0| 57 41 52 52 41 4e 54 59 | 20 41 4e 44 20 52 45 4d |WARRANTY| AND REM|
|000008b0| 45 44 49 45 53 20 53 45 | 54 20 46 4f 52 54 48 20 |EDIES SE|T FORTH |
|000008c0| 41 42 4f 56 45 20 41 52 | 45 20 45 58 43 4c 55 53 |ABOVE AR|E EXCLUS|
|000008d0| 49 56 45 20 41 4e 44 20 | 49 4e 20 4c 49 45 55 20 |IVE AND |IN LIEU |
|000008e0| 4f 46 20 41 4c 4c 20 0d | 4f 54 48 45 52 53 2c 20 |OF ALL .|OTHERS, |
|000008f0| 4f 52 41 4c 20 4f 52 20 | 0d 57 52 49 54 54 45 4e |ORAL OR |.WRITTEN|
|00000900| 2c 20 45 58 50 52 45 53 | 53 20 4f 52 20 0d 49 4d |, EXPRES|S OR .IM|
|00000910| 50 4c 49 45 44 2e 20 4e | 6f 20 41 70 70 6c 65 20 |PLIED. N|o Apple |
|00000920| 64 65 61 6c 65 72 2c 20 | 61 67 65 6e 74 2c 20 6f |dealer, |agent, o|
|00000930| 72 20 65 6d 70 6c 6f 79 | 65 65 20 69 73 20 0d 61 |r employ|ee is .a|
|00000940| 75 74 68 6f 72 69 7a 65 | 64 20 74 6f 20 6d 61 6b |uthorize|d to mak|
|00000950| 65 20 61 6e 79 20 0d 6d | 6f 64 69 66 69 63 61 74 |e any .m|odificat|
|00000960| 69 6f 6e 2c 20 65 78 74 | 65 6e 73 69 6f 6e 2c 20 |ion, ext|ension, |
|00000970| 6f 72 20 0d 61 64 64 69 | 74 69 6f 6e 20 74 6f 20 |or .addi|tion to |
|00000980| 74 68 69 73 20 77 61 72 | 72 61 6e 74 79 2e 20 20 |this war|ranty. |
|00000990| 0d 53 6f 6d 65 20 73 74 | 61 74 65 73 20 64 6f 20 |.Some st|ates do |
|000009a0| 6e 6f 74 20 61 6c 6c 6f | 77 20 74 68 65 20 65 78 |not allo|w the ex|
|000009b0| 63 6c 75 73 69 6f 6e 20 | 6f 72 20 6c 69 6d 69 74 |clusion |or limit|
|000009c0| 61 74 69 6f 6e 20 6f 66 | 20 0d 69 6d 70 6c 69 65 |ation of| .implie|
|000009d0| 64 20 77 61 72 72 61 6e | 74 69 65 73 20 6f 72 20 |d warran|ties or |
|000009e0| 6c 69 61 62 69 6c 69 74 | 79 20 66 6f 72 20 69 6e |liabilit|y for in|
|000009f0| 63 69 64 65 6e 74 61 6c | 20 6f 72 20 63 6f 6e 73 |cidental| or cons|
|00000a00| 65 71 75 65 6e 74 69 61 | 6c 20 64 61 6d 61 67 65 |equentia|l damage|
|00000a10| 73 2c 20 73 6f 20 74 68 | 65 20 61 62 6f 76 65 20 |s, so th|e above |
|00000a20| 0d 6c 69 6d 69 74 61 74 | 69 6f 6e 20 6f 72 20 65 |.limitat|ion or e|
|00000a30| 78 63 6c 75 73 69 6f 6e | 20 6d 61 79 20 6e 6f 74 |xclusion| may not|
|00000a40| 20 61 70 70 6c 79 20 74 | 6f 20 79 6f 75 2e 20 54 | apply t|o you. T|
|00000a50| 68 69 73 20 77 61 72 72 | 61 6e 74 79 20 67 69 76 |his warr|anty giv|
|00000a60| 65 73 20 79 6f 75 20 73 | 70 65 63 69 66 69 63 20 |es you s|pecific |
|00000a70| 6c 65 67 61 6c 20 72 69 | 67 68 74 73 2c 20 61 6e |legal ri|ghts, an|
|00000a80| 64 20 79 6f 75 20 6d 61 | 79 20 61 6c 73 6f 20 68 |d you ma|y also h|
|00000a90| 61 76 65 20 6f 74 68 65 | 72 20 72 69 67 68 74 73 |ave othe|r rights|
|00000aa0| 20 77 68 69 63 68 20 76 | 61 72 79 20 66 72 6f 6d | which v|ary from|
|00000ab0| 20 73 74 61 74 65 20 74 | 6f 20 73 74 61 74 65 2e | state t|o state.|
|00000ac0| 0d 54 68 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 |.The Eve|nt Manag|
|00000ad0| 65 72 0d 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 |er.Intro|duction |
|00000ae0| 74 6f 20 45 76 65 6e 74 | 73 14 14 31 2d 34 0d 4c |to Event|s..1-4.L|
|00000af0| 6f 77 2d 4c 65 76 65 6c | 20 45 76 65 6e 74 73 14 |ow-Level| Events.|
|00000b00| 14 31 2d 37 0d 4f 70 65 | 72 61 74 69 6e 67 2d 53 |.1-7.Ope|rating-S|
|00000b10| 79 73 74 65 6d 20 45 76 | 65 6e 74 73 14 14 31 2d |ystem Ev|ents..1-|
|00000b20| 31 30 0d 48 69 67 68 2d | 4c 65 76 65 6c 20 45 76 |10.High-|Level Ev|
|00000b30| 65 6e 74 73 14 14 31 2d | 31 33 0d 53 77 69 74 63 |ents..1-|13.Switc|
|00000b40| 68 69 6e 67 20 43 6f 6e | 74 65 78 74 73 14 14 31 |hing Con|texts..1|
|00000b50| 2d 31 35 0d 41 62 6f 75 | 74 20 74 68 65 20 45 76 |-15.Abou|t the Ev|
|00000b60| 65 6e 74 20 4d 61 6e 61 | 67 65 72 14 14 31 2d 31 |ent Mana|ger..1-1|
|00000b70| 36 0d 55 73 69 6e 67 20 | 74 68 65 20 45 76 65 6e |6.Using |the Even|
|00000b80| 74 20 4d 61 6e 61 67 65 | 72 14 14 31 2d 31 37 0d |t Manage|r..1-17.|
|00000b90| 4f 62 74 61 69 6e 69 6e | 67 20 49 6e 66 6f 72 6d |Obtainin|g Inform|
|00000ba0| 61 74 69 6f 6e 20 41 62 | 6f 75 74 20 45 76 65 6e |ation Ab|out Even|
|00000bb0| 74 73 14 14 31 2d 31 38 | 0d 50 72 69 6f 72 69 74 |ts..1-18|.Priorit|
|00000bc0| 79 20 6f 66 20 45 76 65 | 6e 74 73 14 14 31 2d 32 |y of Eve|nts..1-2|
|00000bd0| 31 0d 50 72 6f 63 65 73 | 73 69 6e 67 20 45 76 65 |1.Proces|sing Eve|
|00000be0| 6e 74 73 14 14 31 2d 32 | 31 0d 55 73 69 6e 67 20 |nts..1-2|1.Using |
|00000bf0| 74 68 65 20 57 61 69 74 | 4e 65 78 74 45 76 65 6e |the Wait|NextEven|
|00000c00| 74 20 46 75 6e 63 74 69 | 6f 6e 14 14 31 2d 32 32 |t Functi|on..1-22|
|00000c10| 0d 57 72 69 74 69 6e 67 | 20 61 6e 20 45 76 65 6e |.Writing| an Even|
|00000c20| 74 20 4c 6f 6f 70 14 14 | 31 2d 32 35 0d 53 65 74 |t Loop..|1-25.Set|
|00000c30| 74 69 6e 67 20 74 68 65 | 20 45 76 65 6e 74 20 4d |ting the| Event M|
|00000c40| 61 73 6b 14 14 31 2d 32 | 39 0d 48 61 6e 64 6c 69 |ask..1-2|9.Handli|
|00000c50| 6e 67 20 45 76 65 6e 74 | 73 20 69 6e 20 61 20 44 |ng Event|s in a D|
|00000c60| 69 61 6c 6f 67 20 42 6f | 78 14 14 31 2d 33 32 0d |ialog Bo|x..1-32.|
|00000c70| 43 72 65 61 74 69 6e 67 | 20 61 20 27 53 49 5a 45 |Creating| a 'SIZE|
|00000c80| 27 20 52 65 73 6f 75 72 | 63 65 14 14 31 2d 33 33 |' Resour|ce..1-33|
|00000c90| 0d 48 61 6e 64 6c 69 6e | 67 20 4c 6f 77 2d 4c 65 |.Handlin|g Low-Le|
|00000ca0| 76 65 6c 20 45 76 65 6e | 74 73 14 14 31 2d 33 36 |vel Even|ts..1-36|
|00000cb0| 0d 52 65 73 70 6f 6e 64 | 69 6e 67 20 74 6f 20 4d |.Respond|ing to M|
|00000cc0| 6f 75 73 65 20 45 76 65 | 6e 74 73 14 14 31 2d 33 |ouse Eve|nts..1-3|
|00000cd0| 36 0d 52 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |6.Respon|ding to |
|00000ce0| 4b 65 79 62 6f 61 72 64 | 20 45 76 65 6e 74 73 14 |Keyboard| Events.|
|00000cf0| 14 31 2d 34 32 0d 53 63 | 61 6e 6e 69 6e 67 20 66 |.1-42.Sc|anning f|
|00000d00| 6f 72 20 61 20 43 61 6e | 63 65 6c 20 45 76 65 6e |or a Can|cel Even|
|00000d10| 74 14 14 31 2d 35 30 0d | 52 65 73 70 6f 6e 64 69 |t..1-50.|Respondi|
|00000d20| 6e 67 20 74 6f 20 55 70 | 64 61 74 65 20 45 76 65 |ng to Up|date Eve|
|00000d30| 6e 74 73 14 14 31 2d 35 | 32 0d 52 65 73 70 6f 6e |nts..1-5|2.Respon|
|00000d40| 64 69 6e 67 20 74 6f 20 | 41 63 74 69 76 61 74 65 |ding to |Activate|
|00000d50| 20 45 76 65 6e 74 73 14 | 14 31 2d 35 35 0d 52 65 | Events.|.1-55.Re|
|00000d60| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 44 69 73 6b |sponding| to Disk|
|00000d70| 2d 49 6e 73 65 72 74 65 | 64 20 45 76 65 6e 74 73 |-Inserte|d Events|
|00000d80| 14 14 31 2d 36 30 0d 52 | 65 73 70 6f 6e 64 69 6e |..1-60.R|espondin|
|00000d90| 67 20 74 6f 20 4e 75 6c | 6c 20 45 76 65 6e 74 73 |g to Nul|l Events|
|00000da0| 14 14 31 2d 36 32 0d 48 | 61 6e 64 6c 69 6e 67 20 |..1-62.H|andling |
|00000db0| 4f 70 65 72 61 74 69 6e | 67 2d 53 79 73 74 65 6d |Operatin|g-System|
|00000dc0| 20 45 76 65 6e 74 73 14 | 14 31 2d 36 32 0d 52 65 | Events.|.1-62.Re|
|00000dd0| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 53 75 73 70 |sponding| to Susp|
|00000de0| 65 6e 64 20 61 6e 64 20 | 52 65 73 75 6d 65 20 45 |end and |Resume E|
|00000df0| 76 65 6e 74 73 14 14 31 | 2d 36 34 0d 52 65 73 70 |vents..1|-64.Resp|
|00000e00| 6f 6e 64 69 6e 67 20 74 | 6f 20 4d 6f 75 73 65 2d |onding t|o Mouse-|
|00000e10| 4d 6f 76 65 64 20 45 76 | 65 6e 74 73 14 14 31 2d |Moved Ev|ents..1-|
|00000e20| 36 36 0d 48 61 6e 64 6c | 69 6e 67 20 48 69 67 68 |66.Handl|ing High|
|00000e30| 2d 4c 65 76 65 6c 20 45 | 76 65 6e 74 73 14 14 31 |-Level E|vents..1|
|00000e40| 2d 37 31 0d 52 65 73 70 | 6f 6e 64 69 6e 67 20 74 |-71.Resp|onding t|
|00000e50| 6f 20 45 76 65 6e 74 73 | 20 46 72 6f 6d 20 4f 74 |o Events| From Ot|
|00000e60| 68 65 72 20 41 70 70 6c | 69 63 61 74 69 6f 6e 73 |her Appl|ications|
|00000e70| 14 14 31 2d 37 33 0d 53 | 65 61 72 63 68 69 6e 67 |..1-73.S|earching|
|00000e80| 20 66 6f 72 20 61 20 53 | 70 65 63 69 66 69 63 20 | for a S|pecific |
|00000e90| 48 69 67 68 2d 4c 65 76 | 65 6c 20 45 76 65 6e 74 |High-Lev|el Event|
|00000ea0| 14 14 31 2d 37 35 0d 49 | 64 65 6e 74 69 66 79 69 |..1-75.I|dentifyi|
|00000eb0| 6e 67 20 48 69 67 68 2d | 4c 65 76 65 6c 20 45 76 |ng High-|Level Ev|
|00000ec0| 65 6e 74 20 53 65 6e 64 | 65 72 73 20 61 6e 64 20 |ent Send|ers and |
|00000ed0| 52 65 63 65 69 76 65 72 | 73 14 14 31 2d 37 36 0d |Receiver|s..1-76.|
|00000ee0| 53 65 6e 64 69 6e 67 20 | 48 69 67 68 2d 4c 65 76 |Sending |High-Lev|
|00000ef0| 65 6c 20 45 76 65 6e 74 | 73 14 14 31 2d 37 37 0d |el Event|s..1-77.|
|00000f00| 52 65 71 75 65 73 74 69 | 6e 67 20 52 65 74 75 72 |Requesti|ng Retur|
|00000f10| 6e 20 52 65 63 65 69 70 | 74 73 14 14 31 2d 38 31 |n Receip|ts..1-81|
|00000f20| 0d 48 61 6e 64 6c 69 6e | 67 20 41 70 70 6c 65 20 |.Handlin|g Apple |
|00000f30| 45 76 65 6e 74 73 14 14 | 31 2d 38 32 0d 52 65 66 |Events..|1-82.Ref|
|00000f40| 65 72 65 6e 63 65 20 74 | 6f 20 74 68 65 20 45 76 |erence t|o the Ev|
|00000f50| 65 6e 74 20 4d 61 6e 61 | 67 65 72 14 14 31 2d 38 |ent Mana|ger..1-8|
|00000f60| 32 0d 44 61 74 61 20 53 | 74 72 75 63 74 75 72 65 |2.Data S|tructure|
|00000f70| 73 14 14 31 2d 38 33 0d | 54 68 65 20 45 76 65 6e |s..1-83.|The Even|
|00000f80| 74 20 52 65 63 6f 72 64 | 14 14 31 2d 38 33 0d 54 |t Record|..1-83.T|
|00000f90| 68 65 20 54 61 72 67 65 | 74 20 49 44 20 52 65 63 |he Targe|t ID Rec|
|00000fa0| 6f 72 64 14 14 31 2d 38 | 35 0d 54 68 65 20 48 69 |ord..1-8|5.The Hi|
|00000fb0| 67 68 2d 4c 65 76 65 6c | 20 45 76 65 6e 74 20 4d |gh-Level| Event M|
|00000fc0| 65 73 73 61 67 65 20 52 | 65 63 6f 72 64 14 14 31 |essage R|ecord..1|
|00000fd0| 2d 38 36 0d 54 68 65 20 | 45 76 65 6e 74 20 51 75 |-86.The |Event Qu|
|00000fe0| 65 75 65 14 14 31 2d 38 | 37 0d 52 6f 75 74 69 6e |eue..1-8|7.Routin|
|00000ff0| 65 73 14 14 31 2d 38 38 | 0d 52 65 63 65 69 76 69 |es..1-88|.Receivi|
|00001000| 6e 67 20 65 76 65 6e 74 | 73 14 14 31 2d 38 38 0d |ng event|s..1-88.|
|00001010| 53 65 6e 64 69 6e 67 20 | 65 76 65 6e 74 73 14 14 |Sending |events..|
|00001020| 31 2d 31 30 35 0d 43 6f | 6e 76 65 72 74 69 6e 67 |1-105.Co|nverting|
|00001030| 20 70 72 6f 63 65 73 73 | 20 73 65 72 69 61 6c 20 | process| serial |
|00001040| 6e 75 6d 62 65 72 73 20 | 61 6e 64 20 70 6f 72 74 |numbers |and port|
|00001050| 20 6e 61 6d 65 73 14 14 | 31 2d 31 30 39 0d 52 65 | names..|1-109.Re|
|00001060| 61 64 69 6e 67 20 74 68 | 65 20 4d 6f 75 73 65 14 |ading th|e Mouse.|
|00001070| 14 31 2d 31 31 30 0d 52 | 65 61 64 69 6e 67 20 74 |.1-110.R|eading t|
|00001080| 68 65 20 4b 65 79 62 6f | 61 72 64 14 14 31 2d 31 |he Keybo|ard..1-1|
|00001090| 31 32 0d 47 65 74 74 69 | 6e 67 20 54 69 6d 69 6e |12.Getti|ng Timin|
|000010a0| 67 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 14 14 31 |g Inform|ation..1|
|000010b0| 2d 31 31 33 0d 41 70 70 | 6c 69 63 61 74 69 6f 6e |-113.App|lication|
|000010c0| 2d 44 65 66 69 6e 65 64 | 20 52 6f 75 74 69 6e 65 |-Defined| Routine|
|000010d0| 73 14 14 31 2d 31 31 35 | 0d 52 65 73 6f 75 72 63 |s..1-115|.Resourc|
|000010e0| 65 73 14 14 31 2d 31 31 | 36 0d 54 68 65 20 27 53 |es..1-11|6.The 'S|
|000010f0| 49 5a 45 27 20 52 65 73 | 6f 75 72 63 65 14 14 31 |IZE' Res|ource..1|
|00001100| 2d 31 31 36 0d 53 75 6d | 6d 61 72 79 20 6f 66 20 |-116.Sum|mary of |
|00001110| 74 68 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |the Even|t Manage|
|00001120| 72 14 14 31 2d 31 32 32 | 0d 31 54 68 65 20 45 76 |r..1-122|.1The Ev|
|00001130| 65 6e 74 20 4d 61 6e 61 | 67 65 72 0d 54 68 69 73 |ent Mana|ger.This|
|00001140| 20 63 68 61 70 74 65 72 | 20 64 65 73 63 72 69 62 | chapter| describ|
|00001150| 65 73 20 68 6f 77 20 79 | 6f 75 72 20 61 70 70 6c |es how y|our appl|
|00001160| 69 63 61 74 69 6f 6e 20 | 63 61 6e 20 75 73 65 20 |ication |can use |
|00001170| 74 68 65 20 54 6f 6f 6c | 62 6f 78 20 45 76 65 6e |the Tool|box Even|
|00001180| 74 20 4d 61 6e 61 67 65 | 72 20 74 6f 20 72 65 63 |t Manage|r to rec|
|00001190| 65 69 76 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |eive inf|ormation|
|000011a0| 20 61 62 6f 75 74 20 61 | 63 74 69 6f 6e 73 20 70 | about a|ctions p|
|000011b0| 65 72 66 6f 72 6d 65 64 | 20 62 79 20 74 68 65 20 |erformed| by the |
|000011c0| 75 73 65 72 2c 20 74 6f | 20 72 65 63 65 69 76 65 |user, to| receive|
|000011d0| 20 6e 6f 74 69 63 65 20 | 6f 66 20 63 68 61 6e 67 | notice |of chang|
|000011e0| 65 73 20 69 6e 20 74 68 | 65 20 70 72 6f 63 65 73 |es in th|e proces|
|000011f0| 73 69 6e 67 20 73 74 61 | 74 75 73 20 6f 66 20 79 |sing sta|tus of y|
|00001200| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2c |our appl|ication,|
|00001210| 20 61 6e 64 20 74 6f 20 | 63 6f 6d 6d 75 6e 69 63 | and to |communic|
|00001220| 61 74 65 20 77 69 74 68 | 20 6f 74 68 65 72 20 61 |ate with| other a|
|00001230| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 20 0d 46 6f |pplicati|ons. .Fo|
|00001240| 72 20 65 78 61 6d 70 6c | 65 2c 20 79 6f 75 20 63 |r exampl|e, you c|
|00001250| 61 6e 20 72 65 74 72 69 | 65 76 65 20 69 6e 66 6f |an retri|eve info|
|00001260| 72 6d 61 74 69 6f 6e 20 | 66 72 6f 6d 20 74 68 65 |rmation |from the|
|00001270| 20 54 6f 6f 6c 62 6f 78 | 20 45 76 65 6e 74 20 4d | Toolbox| Event M|
|00001280| 61 6e 61 67 65 72 20 74 | 68 61 74 20 67 69 76 65 |anager t|hat give|
|00001290| 73 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |s your a|pplicati|
|000012a0| 6f 6e 20 64 65 74 61 69 | 6c 73 20 61 62 6f 75 74 |on detai|ls about|
|000012b0| 20 77 68 65 74 68 65 72 | 20 74 68 65 20 75 73 65 | whether| the use|
|000012c0| 72 20 68 61 73 20 70 72 | 65 73 73 65 64 20 61 20 |r has pr|essed a |
|000012d0| 6b 65 79 20 6f 72 20 74 | 68 65 20 6d 6f 75 73 65 |key or t|he mouse|
|000012e0| 20 62 75 74 74 6f 6e 2c | 20 77 68 65 74 68 65 72 | button,| whether|
|000012f0| 20 6f 6e 65 20 6f 66 20 | 79 6f 75 72 20 61 70 70 | one of |your app|
|00001300| 6c 69 63 61 74 69 6f 6e | d5 73 20 77 69 6e 64 6f |lication|.s windo|
|00001310| 77 73 20 6e 65 65 64 73 | 20 75 70 64 61 74 69 6e |ws needs| updatin|
|00001320| 67 2c 20 6f 72 20 77 68 | 65 74 68 65 72 20 73 6f |g, or wh|ether so|
|00001330| 6d 65 20 6f 74 68 65 72 | 20 68 61 72 64 77 61 72 |me other| hardwar|
|00001340| 65 2d 72 65 6c 61 74 65 | 64 20 6f 72 20 73 6f 66 |e-relate|d or sof|
|00001350| 74 77 61 72 65 2d 72 65 | 6c 61 74 65 64 20 61 63 |tware-re|lated ac|
|00001360| 74 69 6f 6e 20 72 65 71 | 75 69 72 65 73 20 61 20 |tion req|uires a |
|00001370| 72 65 73 70 6f 6e 73 65 | 20 66 72 6f 6d 20 79 6f |response| from yo|
|00001380| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 0d |ur appli|cation..|
|00001390| 59 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |Your app|lication|
|000013a0| 20 75 73 65 73 20 74 68 | 65 20 45 76 65 6e 74 20 | uses th|e Event |
|000013b0| 4d 61 6e 61 67 65 72 20 | 74 6f 20 73 75 70 70 6f |Manager |to suppo|
|000013c0| 72 74 20 74 68 65 20 63 | 6f 6f 70 65 72 61 74 69 |rt the c|ooperati|
|000013d0| 76 65 20 6d 75 6c 74 69 | 74 61 73 6b 69 6e 67 20 |ve multi|tasking |
|000013e0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 61 76 61 69 |environm|ent avai|
|000013f0| 6c 61 62 6c 65 20 6f 6e | 20 4d 61 63 69 6e 74 6f |lable on| Macinto|
|00001400| 73 68 20 63 6f 6d 70 75 | 74 65 72 73 2e 20 54 68 |sh compu|ters. Th|
|00001410| 69 73 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 61 |is envir|onment a|
|00001420| 6c 6c 6f 77 73 20 75 73 | 65 72 73 20 74 6f 20 73 |llows us|ers to s|
|00001430| 77 69 74 63 68 20 62 65 | 74 77 65 65 6e 20 6d 61 |witch be|tween ma|
|00001440| 6e 79 20 6f 70 65 6e 20 | 61 70 70 6c 69 63 61 74 |ny open |applicat|
|00001450| 69 6f 6e 73 20 61 6e 64 | 20 61 6c 6c 6f 77 73 20 |ions and| allows |
|00001460| 6f 74 68 65 72 20 61 70 | 70 6c 69 63 61 74 69 6f |other ap|plicatio|
|00001470| 6e 73 20 74 6f 20 72 65 | 63 65 69 76 65 20 62 61 |ns to re|ceive ba|
|00001480| 63 6b 67 72 6f 75 6e 64 | 20 70 72 6f 63 65 73 73 |ckground| process|
|00001490| 69 6e 67 20 74 69 6d 65 | 2e 20 42 79 20 75 73 69 |ing time|. By usi|
|000014a0| 6e 67 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |ng Event| Manager|
|000014b0| 20 72 6f 75 74 69 6e 65 | 73 2c 20 79 6f 75 20 61 | routine|s, you a|
|000014c0| 6c 6c 6f 77 20 74 68 65 | 20 73 79 73 74 65 6d 20 |llow the| system |
|000014d0| 73 6f 66 74 77 61 72 65 | 20 74 6f 20 63 6f 6f 72 |software| to coor|
|000014e0| 64 69 6e 61 74 65 20 74 | 68 65 20 73 63 68 65 64 |dinate t|he sched|
|000014f0| 75 6c 69 6e 67 20 6f 66 | 20 70 72 6f 63 65 73 73 |uling of| process|
|00001500| 69 6e 67 20 74 69 6d 65 | 20 62 65 74 77 65 65 6e |ing time| between|
|00001510| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00001520| 6e 20 61 6e 64 20 6f 74 | 68 65 72 20 61 70 70 6c |n and ot|her appl|
|00001530| 69 63 61 74 69 6f 6e 73 | 2e 0d 54 68 65 20 45 76 |ications|..The Ev|
|00001540| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 61 6e 64 20 |ent Mana|ger and |
|00001550| 50 72 6f 63 65 73 73 20 | 4d 61 6e 61 67 65 72 20 |Process |Manager |
|00001560| 6d 61 69 6e 74 61 69 6e | 20 74 68 65 20 63 6f 6f |maintain| the coo|
|00001570| 70 65 72 61 74 69 76 65 | 2c 20 6d 75 6c 74 69 74 |perative|, multit|
|00001580| 61 73 6b 69 6e 67 20 65 | 6e 76 69 72 6f 6e 6d 65 |asking e|nvironme|
|00001590| 6e 74 2e 20 54 68 65 20 | 50 72 6f 63 65 73 73 20 |nt. The |Process |
|000015a0| 4d 61 6e 61 67 65 72 20 | 63 6f 6f 72 64 69 6e 61 |Manager |coordina|
|000015b0| 74 65 73 20 74 68 65 20 | 73 63 68 65 64 75 6c 69 |tes the |scheduli|
|000015c0| 6e 67 20 6f 66 20 61 70 | 70 6c 69 63 61 74 69 6f |ng of ap|plicatio|
|000015d0| 6e 73 2c 20 61 6e 64 20 | 74 68 65 20 45 76 65 6e |ns, and |the Even|
|000015e0| 74 20 4d 61 6e 61 67 65 | 72 20 63 6f 6d 6d 75 6e |t Manage|r commun|
|000015f0| 69 63 61 74 65 73 20 69 | 6e 66 6f 72 6d 61 74 69 |icates i|nformati|
|00001600| 6f 6e 20 61 62 6f 75 74 | 20 63 68 61 6e 67 65 73 |on about| changes|
|00001610| 20 69 6e 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | in your| applica|
|00001620| 74 69 6f 6e d5 73 20 70 | 72 6f 63 65 73 73 69 6e |tion.s p|rocessin|
|00001630| 67 20 73 74 61 74 75 73 | 20 74 6f 20 79 6f 75 72 |g status| to your|
|00001640| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 0d 53 65 | applica|tion..Se|
|00001650| 65 20 74 68 65 20 63 68 | 61 70 74 65 72 20 d2 54 |e the ch|apter .T|
|00001660| 68 65 20 50 72 6f 63 65 | 73 73 20 4d 61 6e 61 67 |he Proce|ss Manag|
|00001670| 65 72 d3 20 69 6e 20 49 | 6e 73 69 64 65 20 4d 61 |er. in I|nside Ma|
|00001680| 63 69 6e 74 6f 73 68 3a | 20 4f 70 65 72 61 74 69 |cintosh:| Operati|
|00001690| 6e 67 20 53 79 73 74 65 | 6d 20 66 6f 72 20 63 6f |ng Syste|m for co|
|000016a0| 6d 70 6c 65 74 65 20 69 | 6e 66 6f 72 6d 61 74 69 |mplete i|nformati|
|000016b0| 6f 6e 20 6f 6e 20 68 6f | 77 20 74 68 65 20 50 72 |on on ho|w the Pr|
|000016c0| 6f 63 65 73 73 20 4d 61 | 6e 61 67 65 72 20 73 63 |ocess Ma|nager sc|
|000016d0| 68 65 64 75 6c 65 73 20 | 61 70 70 6c 69 63 61 74 |hedules |applicat|
|000016e0| 69 6f 6e 73 20 66 6f 72 | 20 65 78 65 63 75 74 69 |ions for| executi|
|000016f0| 6f 6e 2e 0d 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |on..You |can use |
|00001700| 74 68 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |the Even|t Manage|
|00001710| 72 20 74 6f 20 63 6f 6d | 6d 75 6e 69 63 61 74 65 |r to com|municate|
|00001720| 20 77 69 74 68 20 6f 74 | 68 65 72 20 61 70 70 6c | with ot|her appl|
|00001730| 69 63 61 74 69 6f 6e 73 | 2e 20 59 6f 75 72 20 61 |ications|. Your a|
|00001740| 70 70 6c 69 63 61 74 69 | 6f 6e 20 63 61 6e 20 61 |pplicati|on can a|
|00001750| 6c 73 6f 20 63 6f 6d 6d | 75 6e 69 63 61 74 65 20 |lso comm|unicate |
|00001760| 77 69 74 68 20 6f 74 68 | 65 72 20 61 70 70 6c 69 |with oth|er appli|
|00001770| 63 61 74 69 6f 6e 73 20 | 75 73 69 6e 67 20 74 68 |cations |using th|
|00001780| 65 20 73 65 72 76 69 63 | 65 73 20 6f 66 20 74 68 |e servic|es of th|
|00001790| 65 20 41 70 70 6c 65 20 | 45 76 65 6e 74 20 4d 61 |e Apple |Event Ma|
|000017a0| 6e 61 67 65 72 2e 0d 54 | 68 65 20 45 76 65 6e 74 |nager..T|he Event|
|000017b0| 20 4d 61 6e 61 67 65 72 | 20 61 6e 64 20 41 70 70 | Manager| and App|
|000017c0| 6c 65 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |le Event| Manager|
|000017d0| 20 72 6f 75 74 69 6e 65 | 73 20 74 68 61 74 20 6c | routine|s that l|
|000017e0| 65 74 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |et your |applicat|
|000017f0| 69 6f 6e 20 63 6f 6d 6d | 75 6e 69 63 61 74 65 20 |ion comm|unicate |
|00001800| 77 69 74 68 20 6f 74 68 | 65 72 20 61 70 70 6c 69 |with oth|er appli|
|00001810| 63 61 74 69 6f 6e 73 20 | 64 65 70 65 6e 64 20 6f |cations |depend o|
|00001820| 6e 20 74 68 65 20 73 65 | 72 76 69 63 65 73 20 6f |n the se|rvices o|
|00001830| 66 20 74 68 65 20 50 72 | 6f 67 72 61 6d 2d 74 6f |f the Pr|ogram-to|
|00001840| 2d 50 72 6f 67 72 61 6d | 20 43 6f 6d 6d 75 6e 69 |-Program| Communi|
|00001850| 63 61 74 69 6f 6e 73 20 | 28 50 50 43 29 20 54 6f |cations |(PPC) To|
|00001860| 6f 6c 62 6f 78 2e 20 54 | 68 65 20 73 65 72 76 69 |olbox. T|he servi|
|00001870| 63 65 73 20 70 65 72 66 | 6f 72 6d 65 64 20 62 79 |ces perf|ormed by|
|00001880| 20 74 68 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 | the Eve|nt Manag|
|00001890| 65 72 20 61 6e 64 20 41 | 70 70 6c 65 20 45 76 65 |er and A|pple Eve|
|000018a0| 6e 74 20 4d 61 6e 61 67 | 65 72 20 6d 65 65 74 20 |nt Manag|er meet |
|000018b0| 74 68 65 20 6e 65 65 64 | 73 20 6f 66 20 6d 6f 73 |the need|s of mos|
|000018c0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 66 |t applic|ations f|
|000018d0| 6f 72 20 69 6e 74 65 72 | 61 70 70 6c 69 63 61 74 |or inter|applicat|
|000018e0| 69 6f 6e 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ion comm|unicatio|
|000018f0| 6e 2e 20 48 6f 77 65 76 | 65 72 2c 20 74 6f 20 67 |n. Howev|er, to g|
|00001900| 65 74 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 63 6f |et addit|ional co|
|00001910| 6e 74 72 6f 6c 20 6f 72 | 20 63 61 70 61 62 69 6c |ntrol or| capabil|
|00001920| 69 74 69 65 73 20 6e 6f | 74 20 70 72 6f 76 69 64 |ities no|t provid|
|00001930| 65 64 20 62 79 20 74 68 | 65 20 45 76 65 6e 74 20 |ed by th|e Event |
|00001940| 4d 61 6e 61 67 65 72 20 | 6f 72 20 41 70 70 6c 65 |Manager |or Apple|
|00001950| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 2c 20 | Event M|anager, |
|00001960| 79 6f 75 20 63 61 6e 20 | 63 68 6f 6f 73 65 20 74 |you can |choose t|
|00001970| 6f 20 61 63 63 65 73 73 | 20 74 68 65 20 50 50 43 |o access| the PPC|
|00001980| 20 54 6f 6f 6c 62 6f 78 | 20 64 69 72 65 63 74 6c | Toolbox| directl|
|00001990| 79 2e 20 54 68 65 20 63 | 68 61 70 74 65 72 20 d2 |y. The c|hapter .|
|000019a0| 50 72 6f 67 72 61 6d 2d | 74 6f 2d 50 72 6f 67 72 |Program-|to-Progr|
|000019b0| 61 6d 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |am Commu|nication|
|000019c0| 73 20 54 6f 6f 6c 62 6f | 78 d3 20 69 6e 20 49 6e |s Toolbo|x. in In|
|000019d0| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 3a 20 |side Mac|intosh: |
|000019e0| 43 6f 6c 6c 61 62 6f 72 | 61 74 69 76 65 20 43 6f |Collabor|ative Co|
|000019f0| 6d 70 75 74 69 6e 67 20 | 64 65 73 63 72 69 62 65 |mputing |describe|
|00001a00| 73 20 74 68 65 20 50 50 | 43 20 54 6f 6f 6c 62 6f |s the PP|C Toolbo|
|00001a10| 78 20 72 6f 75 74 69 6e | 65 73 20 74 68 61 74 20 |x routin|es that |
|00001a20| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |are avai|lable to|
|00001a30| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00001a40| 6e 2e 0d 46 6f 72 20 61 | 20 63 6f 6d 70 61 72 69 |n..For a| compari|
|00001a50| 73 6f 6e 20 6f 66 20 74 | 68 65 20 73 65 72 76 69 |son of t|he servi|
|00001a60| 63 65 73 20 70 72 6f 76 | 69 64 65 64 20 62 79 20 |ces prov|ided by |
|00001a70| 74 68 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |the Even|t Manage|
|00001a80| 72 2c 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 4d |r, Apple| Event M|
|00001a90| 61 6e 61 67 65 72 2c 20 | 61 6e 64 20 50 50 43 20 |anager, |and PPC |
|00001aa0| 54 6f 6f 6c 62 6f 78 2c | 20 73 65 65 20 74 68 65 |Toolbox,| see the|
|00001ab0| 20 63 68 61 70 74 65 72 | 20 d2 49 6e 74 72 6f 64 | chapter| .Introd|
|00001ac0| 75 63 74 69 6f 6e 20 74 | 6f 20 74 68 65 20 4d 61 |uction t|o the Ma|
|00001ad0| 63 69 6e 74 6f 73 68 20 | 54 6f 6f 6c 62 6f 78 d3 |cintosh |Toolbox.|
|00001ae0| 20 65 61 72 6c 69 65 72 | 20 69 6e 20 74 68 69 73 | earlier| in this|
|00001af0| 20 62 6f 6f 6b 2e 20 46 | 6f 72 20 61 64 64 69 74 | book. F|or addit|
|00001b00| 69 6f 6e 61 6c 20 69 6e | 66 6f 72 6d 61 74 69 6f |ional in|formatio|
|00001b10| 6e 20 61 62 6f 75 74 20 | 41 70 70 6c 65 20 65 76 |n about |Apple ev|
|00001b20| 65 6e 74 73 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |ents, in|cluding |
|00001b30| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 6f 66 20 |descript|ions of |
|00001b40| 68 6f 77 20 74 6f 20 70 | 72 6f 63 65 73 73 20 74 |how to p|rocess t|
|00001b50| 68 65 20 72 65 71 75 69 | 72 65 64 20 41 70 70 6c |he requi|red Appl|
|00001b60| 65 20 65 76 65 6e 74 73 | 2c 20 73 65 65 20 74 68 |e events|, see th|
|00001b70| 65 20 63 68 61 70 74 65 | 72 20 d2 54 68 65 20 41 |e chapte|r .The A|
|00001b80| 70 70 6c 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 |pple Eve|nt Manag|
|00001b90| 65 72 d3 20 69 6e 20 49 | 6e 73 69 64 65 20 4d 61 |er. in I|nside Ma|
|00001ba0| 63 69 6e 74 6f 73 68 3a | 20 43 6f 6c 6c 61 62 6f |cintosh:| Collabo|
|00001bb0| 72 61 74 69 76 65 20 43 | 6f 6d 70 75 74 69 6e 67 |rative C|omputing|
|00001bc0| 2e 0d 54 68 69 73 20 63 | 68 61 70 74 65 72 20 64 |..This c|hapter d|
|00001bd0| 65 73 63 72 69 62 65 73 | 20 62 6f 74 68 20 74 68 |escribes| both th|
|00001be0| 65 20 54 6f 6f 6c 62 6f | 78 20 45 76 65 6e 74 20 |e Toolbo|x Event |
|00001bf0| 4d 61 6e 61 67 65 72 20 | 61 6e 64 20 74 68 65 20 |Manager |and the |
|00001c00| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00001c10| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 2e 20 | Event M|anager. |
|00001c20| 54 68 65 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 |The Oper|ating Sy|
|00001c30| 73 74 65 6d 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 |stem Eve|nt Manag|
|00001c40| 65 72 20 6d 61 69 6e 74 | 61 69 6e 73 20 61 20 71 |er maint|ains a q|
|00001c50| 75 65 75 65 20 69 6e 20 | 77 68 69 63 68 20 69 74 |ueue in |which it|
|00001c60| 20 73 74 6f 72 65 73 20 | 68 61 72 64 77 61 72 65 | stores |hardware|
|00001c70| 2d 72 65 6c 61 74 65 64 | 20 6f 63 63 75 72 72 65 |-related| occurre|
|00001c80| 6e 63 65 73 20 74 68 61 | 74 20 79 6f 75 20 6d 61 |nces tha|t you ma|
|00001c90| 79 20 77 61 6e 74 20 79 | 6f 75 72 20 61 70 70 6c |y want y|our appl|
|00001ca0| 69 63 61 74 69 6f 6e 20 | 74 6f 20 72 65 73 70 6f |ication |to respo|
|00001cb0| 6e 64 20 74 6f 2e 20 54 | 68 65 20 54 6f 6f 6c 62 |nd to. T|he Toolb|
|00001cc0| 6f 78 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |ox Event| Manager|
|00001cd0| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 65 73 20 74 68 | communi|cates th|
|00001ce0| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6d 61 |e inform|ation ma|
|00001cf0| 69 6e 74 61 69 6e 65 64 | 20 62 79 20 74 68 65 20 |intained| by the |
|00001d00| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00001d10| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 74 | Event M|anager t|
|00001d20| 6f 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |o your a|pplicati|
|00001d30| 6f 6e 2e 20 49 6e 20 6d | 6f 73 74 20 63 61 73 65 |on. In m|ost case|
|00001d40| 73 2c 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |s, your |applicat|
|00001d50| 69 6f 6e 20 6e 65 65 64 | 73 20 74 6f 20 69 6e 74 |ion need|s to int|
|00001d60| 65 72 61 63 74 20 6f 6e | 6c 79 20 77 69 74 68 20 |eract on|ly with |
|00001d70| 74 68 65 20 54 6f 6f 6c | 62 6f 78 20 45 76 65 6e |the Tool|box Even|
|00001d80| 74 20 4d 61 6e 61 67 65 | 72 2e 20 49 6e 20 74 68 |t Manage|r. In th|
|00001d90| 69 73 20 63 68 61 70 74 | 65 72 2c 20 74 68 65 20 |is chapt|er, the |
|00001da0| 6e 61 6d 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 |name Eve|nt Manag|
|00001db0| 65 72 20 72 65 66 65 72 | 73 20 74 6f 20 74 68 65 |er refer|s to the|
|00001dc0| 20 54 6f 6f 6c 62 6f 78 | 20 45 76 65 6e 74 20 4d | Toolbox| Event M|
|00001dd0| 61 6e 61 67 65 72 2e 0d | 54 68 69 73 20 63 68 61 |anager..|This cha|
|00001de0| 70 74 65 72 20 70 72 6f | 76 69 64 65 73 20 61 20 |pter pro|vides a |
|00001df0| 62 72 69 65 66 20 69 6e | 74 72 6f 64 75 63 74 69 |brief in|troducti|
|00001e00| 6f 6e 20 74 6f 20 65 76 | 65 6e 74 73 20 61 6e 64 |on to ev|ents and|
|00001e10| 20 74 68 65 6e 20 65 78 | 70 6c 61 69 6e 73 20 68 | then ex|plains h|
|00001e20| 6f 77 20 79 6f 75 20 63 | 61 6e 20 75 73 65 20 74 |ow you c|an use t|
|00001e30| 68 65 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |he Event| Manager|
|00001e40| 20 74 6f 0d 6e 09 72 65 | 63 65 69 76 65 20 6b 65 | to.n.re|ceive ke|
|00001e50| 79 70 72 65 73 73 65 73 | 20 61 6e 64 20 6d 6f 75 |ypresses| and mou|
|00001e60| 73 65 20 63 6c 69 63 6b | 73 20 61 73 20 69 6e 70 |se click|s as inp|
|00001e70| 75 74 20 66 6f 72 20 79 | 6f 75 72 20 61 70 70 6c |ut for y|our appl|
|00001e80| 69 63 61 74 69 6f 6e 0d | 6e 09 72 65 63 65 69 76 |ication.|n.receiv|
|00001e90| 65 20 69 6e 64 69 63 61 | 74 69 6f 6e 20 74 68 61 |e indica|tion tha|
|00001ea0| 74 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |t your a|pplicati|
|00001eb0| 6f 6e d5 73 20 77 69 6e | 64 6f 77 73 20 6e 65 65 |on.s win|dows nee|
|00001ec0| 64 20 74 6f 20 62 65 20 | 61 63 74 69 76 61 74 65 |d to be |activate|
|00001ed0| 64 20 6f 72 20 75 70 64 | 61 74 65 64 0d 6e 09 61 |d or upd|ated.n.a|
|00001ee0| 6c 6c 6f 77 20 6f 74 68 | 65 72 20 61 70 70 6c 69 |llow oth|er appli|
|00001ef0| 63 61 74 69 6f 6e 73 20 | 74 6f 20 75 73 65 20 74 |cations |to use t|
|00001f00| 68 65 20 61 76 61 69 6c | 61 62 6c 65 20 73 79 73 |he avail|able sys|
|00001f10| 74 65 6d 20 72 65 73 6f | 75 72 63 65 73 20 77 68 |tem reso|urces wh|
|00001f20| 65 6e 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |en your |applicat|
|00001f30| 69 6f 6e 20 69 73 6e d5 | 74 20 75 73 69 6e 67 20 |ion isn.|t using |
|00001f40| 74 68 65 6d 0d 6e 09 63 | 6f 6d 6d 75 6e 69 63 61 |them.n.c|ommunica|
|00001f50| 74 65 20 77 69 74 68 20 | 6f 74 68 65 72 20 61 70 |te with |other ap|
|00001f60| 70 6c 69 63 61 74 69 6f | 6e 73 20 0d 49 6e 74 72 |plicatio|ns .Intr|
|00001f70| 6f 64 75 63 74 69 6f 6e | 20 74 6f 20 45 76 65 6e |oduction| to Even|
|00001f80| 74 73 0d 4d 6f 73 74 20 | 4d 61 63 69 6e 74 6f 73 |ts.Most |Macintos|
|00001f90| 68 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 72 |h applic|ations r|
|00001fa0| 65 63 65 69 76 65 20 69 | 6e 66 6f 72 6d 61 74 69 |eceive i|nformati|
|00001fb0| 6f 6e 20 61 62 6f 75 74 | 20 68 61 72 64 77 61 72 |on about| hardwar|
|00001fc0| 65 20 61 6e 64 20 73 6f | 66 74 77 61 72 65 20 6f |e and so|ftware o|
|00001fd0| 63 63 75 72 72 65 6e 63 | 65 73 20 74 68 61 74 20 |ccurrenc|es that |
|00001fe0| 72 65 71 75 69 72 65 20 | 61 20 72 65 73 70 6f 6e |require |a respon|
|00001ff0| 73 65 20 66 72 6f 6d 20 | 74 68 65 20 61 70 70 6c |se from |the appl|
|00002000| 69 63 61 74 69 6f 6e 2c | 20 74 68 72 6f 75 67 68 |ication,| through|
|00002010| 20 65 76 65 6e 74 73 2e | 20 41 6e 20 65 76 65 6e | events.| An even|
|00002020| 74 20 69 73 20 74 68 65 | 20 6d 65 61 6e 73 20 62 |t is the| means b|
|00002030| 79 20 77 68 69 63 68 20 | 74 68 65 20 45 76 65 6e |y which |the Even|
|00002040| 74 20 4d 61 6e 61 67 65 | 72 20 63 6f 6d 6d 75 6e |t Manage|r commun|
|00002050| 69 63 61 74 65 73 20 69 | 6e 66 6f 72 6d 61 74 69 |icates i|nformati|
|00002060| 6f 6e 20 61 62 6f 75 74 | 20 75 73 65 72 20 61 63 |on about| user ac|
|00002070| 74 69 6f 6e 73 2c 20 63 | 68 61 6e 67 65 73 20 69 |tions, c|hanges i|
|00002080| 6e 20 74 68 65 20 70 72 | 6f 63 65 73 73 69 6e 67 |n the pr|ocessing|
|00002090| 20 73 74 61 74 75 73 20 | 6f 66 20 74 68 65 20 61 | status |of the a|
|000020a0| 70 70 6c 69 63 61 74 69 | 6f 6e 2c 20 61 6e 64 20 |pplicati|on, and |
|000020b0| 6f 74 68 65 72 20 6f 63 | 63 75 72 72 65 6e 63 65 |other oc|currence|
|000020c0| 73 20 74 68 61 74 20 72 | 65 71 75 69 72 65 20 61 |s that r|equire a|
|000020d0| 20 72 65 73 70 6f 6e 73 | 65 20 66 72 6f 6d 20 74 | respons|e from t|
|000020e0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 20 |he appli|cation. |
|000020f0| 0d 54 68 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 |.The Eve|nt Manag|
|00002100| 65 72 20 63 6f 6d 6d 75 | 6e 69 63 61 74 65 73 20 |er commu|nicates |
|00002110| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00002120| 74 20 65 76 65 6e 74 73 | 20 74 68 61 74 20 6f 63 |t events| that oc|
|00002130| 63 75 72 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |cur thro|ugh the |
|00002140| 65 76 65 6e 74 20 72 65 | 63 6f 72 64 2e 20 54 68 |event re|cord. Th|
|00002150| 65 20 45 76 65 6e 74 52 | 65 63 6f 72 64 20 64 61 |e EventR|ecord da|
|00002160| 74 61 20 74 79 70 65 20 | 64 65 66 69 6e 65 73 20 |ta type |defines |
|00002170| 74 68 65 20 65 76 65 6e | 74 20 72 65 63 6f 72 64 |the even|t record|
|00002180| 2e 20 54 68 65 20 65 76 | 65 6e 74 20 72 65 63 6f |. The ev|ent reco|
|00002190| 72 64 20 63 6f 6e 74 61 | 69 6e 73 20 69 6e 66 6f |rd conta|ins info|
|000021a0| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 77 68 |rmation |about wh|
|000021b0| 61 74 20 74 79 70 65 20 | 6f 66 20 65 76 65 6e 74 |at type |of event|
|000021c0| 20 6f 63 63 75 72 72 65 | 64 20 28 61 20 6d 6f 75 | occurre|d (a mou|
|000021d0| 73 65 20 63 6c 69 63 6b | 20 6f 72 20 6b 65 79 70 |se click| or keyp|
|000021e0| 72 65 73 73 2c 20 66 6f | 72 20 65 78 61 6d 70 6c |ress, fo|r exampl|
|000021f0| 65 29 20 61 6e 64 20 63 | 6f 6e 74 61 69 6e 73 20 |e) and c|ontains |
|00002200| 61 64 64 69 74 69 6f 6e | 61 6c 20 69 6e 66 6f 72 |addition|al infor|
|00002210| 6d 61 74 69 6f 6e 20 61 | 73 73 6f 63 69 61 74 65 |mation a|ssociate|
|00002220| 64 20 77 69 74 68 20 74 | 68 65 20 65 76 65 6e 74 |d with t|he event|
|00002230| 20 28 66 6f 72 20 61 20 | 6b 65 79 70 72 65 73 73 | (for a |keypress|
|00002240| 2c 20 74 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |, the Ev|ent Mana|
|00002250| 67 65 72 20 61 6c 73 6f | 20 72 65 70 6f 72 74 73 |ger also| reports|
|00002260| 20 77 68 69 63 68 20 6b | 65 79 20 77 61 73 20 70 | which k|ey was p|
|00002270| 72 65 73 73 65 64 29 2e | 20 0d 4d 6f 73 74 20 4d |ressed).| .Most M|
|00002280| 61 63 69 6e 74 6f 73 68 | 20 61 70 70 6c 69 63 61 |acintosh| applica|
|00002290| 74 69 6f 6e 73 20 61 72 | 65 20 65 76 65 6e 74 2d |tions ar|e event-|
|000022a0| 64 72 69 76 65 6e d1 74 | 68 61 74 20 69 73 2c 20 |driven.t|hat is, |
|000022b0| 74 68 65 79 20 72 65 73 | 70 6f 6e 64 20 74 6f 20 |they res|pond to |
|000022c0| 76 61 72 69 6f 75 73 20 | 63 68 61 6e 67 65 73 20 |various |changes |
|000022d0| 6f 72 20 6f 63 63 75 72 | 72 65 6e 63 65 73 20 61 |or occur|rences a|
|000022e0| 6e 64 20 74 61 6b 65 20 | 61 63 74 69 6f 6e 20 62 |nd take |action b|
|000022f0| 61 73 65 64 20 6f 6e 20 | 74 68 65 20 6e 61 74 75 |ased on |the natu|
|00002300| 72 65 20 6f 66 20 74 68 | 65 20 65 76 65 6e 74 2e |re of th|e event.|
|00002310| 20 54 79 70 69 63 61 6c | 6c 79 2c 20 61 20 4d 61 | Typical|ly, a Ma|
|00002320| 63 69 6e 74 6f 73 68 20 | 61 70 70 6c 69 63 61 74 |cintosh |applicat|
|00002330| 69 6f 6e 20 72 65 70 65 | 61 74 65 64 6c 79 20 63 |ion repe|atedly c|
|00002340| 68 65 63 6b 73 20 74 6f | 20 73 65 65 20 69 66 20 |hecks to| see if |
|00002350| 61 6e 20 65 76 65 6e 74 | 20 68 61 73 20 6f 63 63 |an event| has occ|
|00002360| 75 72 72 65 64 20 61 6e | 64 2c 20 69 66 20 73 6f |urred an|d, if so|
|00002370| 2c 20 72 65 73 70 6f 6e | 64 73 20 74 6f 20 74 68 |, respon|ds to th|
|00002380| 65 20 65 76 65 6e 74 2e | 20 49 66 20 6e 6f 20 65 |e event.| If no e|
|00002390| 76 65 6e 74 73 20 61 72 | 65 20 70 65 6e 64 69 6e |vents ar|e pendin|
|000023a0| 67 2c 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |g, the a|pplicati|
|000023b0| 6f 6e 20 63 61 6e 20 63 | 68 6f 6f 73 65 20 74 6f |on can c|hoose to|
|000023c0| 20 72 65 6c 69 6e 71 75 | 69 73 68 20 74 68 65 20 | relinqu|ish the |
|000023d0| 70 72 6f 63 65 73 73 6f | 72 20 66 6f 72 20 61 20 |processo|r for a |
|000023e0| 73 70 65 63 69 66 69 65 | 64 20 61 6d 6f 75 6e 74 |specifie|d amount|
|000023f0| 20 6f 66 20 74 69 6d 65 | 20 6f 72 20 63 61 6e 20 | of time| or can |
|00002400| 70 65 72 66 6f 72 6d 20 | 6f 74 68 65 72 20 74 61 |perform |other ta|
|00002410| 73 6b 73 20 62 65 66 6f | 72 65 20 63 68 65 63 6b |sks befo|re check|
|00002420| 69 6e 67 20 61 67 61 69 | 6e 20 74 6f 20 73 65 65 |ing agai|n to see|
|00002430| 20 77 68 65 74 68 65 72 | 20 61 6e 20 65 76 65 6e | whether| an even|
|00002440| 74 20 68 61 73 20 6f 63 | 63 75 72 72 65 64 2e 0d |t has oc|curred..|
|00002450| 59 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |Your app|lication|
|00002460| 20 74 79 70 69 63 61 6c | 6c 79 20 72 65 74 72 69 | typical|ly retri|
|00002470| 65 76 65 73 20 65 76 65 | 6e 74 73 20 66 72 6f 6d |eves eve|nts from|
|00002480| 20 74 68 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 | the Eve|nt Manag|
|00002490| 65 72 20 61 6e 64 20 61 | 6c 73 6f 20 72 65 6c 69 |er and a|lso reli|
|000024a0| 6e 71 75 69 73 68 65 73 | 20 70 72 6f 63 65 73 73 |nquishes| process|
|000024b0| 6f 72 20 74 69 6d 65 20 | 62 79 20 75 73 69 6e 67 |or time |by using|
|000024c0| 20 74 68 65 20 57 61 69 | 74 4e 65 78 74 45 76 65 | the Wai|tNextEve|
|000024d0| 6e 74 20 66 75 6e 63 74 | 69 6f 6e 2e 20 49 66 20 |nt funct|ion. If |
|000024e0| 61 6e 79 20 65 76 65 6e | 74 73 20 61 72 65 20 70 |any even|ts are p|
|000024f0| 65 6e 64 69 6e 67 20 66 | 6f 72 20 79 6f 75 72 20 |ending f|or your |
|00002500| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 74 68 65 |applicat|ion, the|
|00002510| 20 57 61 69 74 4e 65 78 | 74 45 76 65 6e 74 20 66 | WaitNex|tEvent f|
|00002520| 75 6e 63 74 69 6f 6e 20 | 72 65 74 75 72 6e 73 20 |unction |returns |
|00002530| 74 68 65 20 65 76 65 6e | 74 20 74 6f 20 79 6f 75 |the even|t to you|
|00002540| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 49 |r applic|ation. I|
|00002550| 66 20 6e 6f 20 65 76 65 | 6e 74 73 20 61 72 65 20 |f no eve|nts are |
|00002560| 70 65 6e 64 69 6e 67 20 | 66 6f 72 20 79 6f 75 72 |pending |for your|
|00002570| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 74 68 | applica|tion, th|
|00002580| 65 20 57 61 69 74 4e 65 | 78 74 45 76 65 6e 74 20 |e WaitNe|xtEvent |
|00002590| 66 75 6e 63 74 69 6f 6e | 20 6d 61 79 20 61 6c 6c |function| may all|
|000025a0| 6f 63 61 74 65 20 70 72 | 6f 63 65 73 73 69 6e 67 |ocate pr|ocessing|
|000025b0| 20 74 69 6d 65 20 74 6f | 20 6f 74 68 65 72 20 61 | time to| other a|
|000025c0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 0d 57 68 65 |pplicati|ons..Whe|
|000025d0| 6e 20 6d 75 6c 74 69 70 | 6c 65 20 61 70 70 6c 69 |n multip|le appli|
|000025e0| 63 61 74 69 6f 6e 73 20 | 61 72 65 20 6f 70 65 6e |cations |are open|
|000025f0| 2c 20 74 68 65 20 75 73 | 65 72 20 63 68 6f 6f 73 |, the us|er choos|
|00002600| 65 73 20 6f 6e 65 20 74 | 6f 20 69 6e 74 65 72 61 |es one t|o intera|
|00002610| 63 74 20 77 69 74 68 20 | 61 74 20 61 6e 79 20 67 |ct with |at any g|
|00002620| 69 76 65 6e 20 74 69 6d | 65 2e 20 54 68 65 20 61 |iven tim|e. The a|
|00002630| 63 74 69 76 65 20 61 70 | 70 6c 69 63 61 74 69 6f |ctive ap|plicatio|
|00002640| 6e 20 28 6f 72 20 66 6f | 72 65 67 72 6f 75 6e 64 |n (or fo|reground|
|00002650| 20 70 72 6f 63 65 73 73 | 29 20 69 73 20 74 68 65 | process|) is the|
|00002660| 20 6f 6e 65 20 63 75 72 | 72 65 6e 74 6c 79 20 69 | one cur|rently i|
|00002670| 6e 74 65 72 61 63 74 69 | 6e 67 20 77 69 74 68 20 |nteracti|ng with |
|00002680| 74 68 65 20 75 73 65 72 | 2e 20 54 68 65 20 66 6f |the user|. The fo|
|00002690| 72 65 67 72 6f 75 6e 64 | 20 70 72 6f 63 65 73 73 |reground| process|
|000026a0| 20 64 69 73 70 6c 61 79 | 73 20 69 74 73 20 6d 65 | display|s its me|
|000026b0| 6e 75 20 62 61 72 2c 20 | 61 6e 64 20 69 74 73 20 |nu bar, |and its |
|000026c0| 77 69 6e 64 6f 77 73 20 | 61 72 65 20 69 6e 20 66 |windows |are in f|
|000026d0| 72 6f 6e 74 20 6f 66 20 | 74 68 65 20 77 69 6e 64 |ront of |the wind|
|000026e0| 6f 77 73 20 6f 66 20 61 | 6c 6c 20 6f 74 68 65 72 |ows of a|ll other|
|000026f0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2e 20 28 | applica|tions. (|
|00002700| 54 68 65 20 74 65 72 6d | 20 70 72 6f 63 65 73 73 |The term| process|
|00002710| 20 61 6c 77 61 79 73 20 | 72 65 66 65 72 73 20 74 | always |refers t|
|00002720| 6f 20 61 6e 20 6f 70 65 | 6e 20 61 70 70 6c 69 63 |o an ope|n applic|
|00002730| 61 74 69 6f 6e 20 6f 72 | 2c 20 69 6e 20 73 6f 6d |ation or|, in som|
|00002740| 65 20 63 61 73 65 73 2c | 20 61 6e 20 6f 70 65 6e |e cases,| an open|
|00002750| 20 64 65 73 6b 20 61 63 | 63 65 73 73 6f 72 79 2e | desk ac|cessory.|
|00002760| 29 0d 54 68 65 20 66 6f | 72 65 67 72 6f 75 6e 64 |).The fo|reground|
|00002770| 20 70 72 6f 63 65 73 73 | 20 68 61 73 20 66 69 72 | process| has fir|
|00002780| 73 74 20 70 72 69 6f 72 | 69 74 79 20 66 6f 72 20 |st prior|ity for |
|00002790| 61 63 63 65 73 73 69 6e | 67 20 74 68 65 20 43 50 |accessin|g the CP|
|000027a0| 55 2e 20 4f 74 68 65 72 | 20 70 72 6f 63 65 73 73 |U. Other| process|
|000027b0| 65 73 20 63 61 6e 20 61 | 63 63 65 73 73 20 74 68 |es can a|ccess th|
|000027c0| 65 20 43 50 55 20 6f 6e | 6c 79 20 77 68 65 6e 20 |e CPU on|ly when |
|000027d0| 74 68 65 20 66 6f 72 65 | 67 72 6f 75 6e 64 20 70 |the fore|ground p|
|000027e0| 72 6f 63 65 73 73 20 79 | 69 65 6c 64 73 20 74 69 |rocess y|ields ti|
|000027f0| 6d 65 20 74 6f 20 74 68 | 65 6d 2e 20 54 68 65 72 |me to th|em. Ther|
|00002800| 65 20 69 73 20 6f 6e 6c | 79 20 6f 6e 65 20 66 6f |e is onl|y one fo|
|00002810| 72 65 67 72 6f 75 6e 64 | 20 70 72 6f 63 65 73 73 |reground| process|
|00002820| 20 61 74 20 61 6e 79 20 | 6f 6e 65 20 74 69 6d 65 | at any |one time|
|00002830| 2e 20 48 6f 77 65 76 65 | 72 2c 20 6d 75 6c 74 69 |. Howeve|r, multi|
|00002840| 70 6c 65 20 70 72 6f 63 | 65 73 73 65 73 20 63 61 |ple proc|esses ca|
|00002850| 6e 20 65 78 69 73 74 20 | 69 6e 20 74 68 65 20 62 |n exist |in the b|
|00002860| 61 63 6b 67 72 6f 75 6e | 64 2e 20 41 20 62 61 63 |ackgroun|d. A bac|
|00002870| 6b 67 72 6f 75 6e 64 20 | 70 72 6f 63 65 73 73 20 |kground |process |
|00002880| 69 73 20 61 20 70 72 6f | 63 65 73 73 20 74 68 61 |is a pro|cess tha|
|00002890| 74 20 69 73 20 6e 6f 74 | 20 63 75 72 72 65 6e 74 |t is not| current|
|000028a0| 6c 79 20 69 6e 74 65 72 | 61 63 74 69 6e 67 20 77 |ly inter|acting w|
|000028b0| 69 74 68 20 74 68 65 20 | 75 73 65 72 2e 20 0d 42 |ith the |user. .B|
|000028c0| 79 20 75 73 69 6e 67 20 | 57 61 69 74 4e 65 78 74 |y using |WaitNext|
|000028d0| 45 76 65 6e 74 20 74 6f | 20 72 65 74 72 69 65 76 |Event to| retriev|
|000028e0| 65 20 65 76 65 6e 74 73 | 2c 20 79 6f 75 20 61 6c |e events|, you al|
|000028f0| 6c 6f 77 20 6f 74 68 65 | 72 20 61 70 70 6c 69 63 |low othe|r applic|
|00002900| 61 74 69 6f 6e 73 20 74 | 6f 20 6d 61 6b 65 20 75 |ations t|o make u|
|00002910| 73 65 20 6f 66 20 70 72 | 6f 63 65 73 73 69 6e 67 |se of pr|ocessing|
|00002920| 20 74 69 6d 65 20 74 68 | 61 74 20 79 6f 75 72 20 | time th|at your |
|00002930| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 6f 75 6c |applicat|ion woul|
|00002940| 64 20 6f 74 68 65 72 77 | 69 73 65 20 6e 6f 74 20 |d otherw|ise not |
|00002950| 75 73 65 2e 20 57 68 65 | 6e 20 79 6f 75 72 20 61 |use. Whe|n your a|
|00002960| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 69 6e |pplicati|on is in|
|00002970| 20 74 68 65 20 62 61 63 | 6b 67 72 6f 75 6e 64 2c | the bac|kground,|
|00002980| 20 69 74 20 69 6e 20 74 | 75 72 6e 20 63 61 6e 20 | it in t|urn can |
|00002990| 72 65 63 65 69 76 65 20 | 70 72 6f 63 65 73 73 69 |receive |processi|
|000029a0| 6e 67 20 74 69 6d 65 20 | 77 68 65 6e 20 6f 74 68 |ng time |when oth|
|000029b0| 65 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |er appli|cations |
|000029c0| 72 65 6c 69 6e 71 75 69 | 73 68 20 74 68 65 20 70 |relinqui|sh the p|
|000029d0| 72 6f 63 65 73 73 6f 72 | 2e 20 55 73 69 6e 67 20 |rocessor|. Using |
|000029e0| 57 61 69 74 4e 65 78 74 | 45 76 65 6e 74 20 61 6c |WaitNext|Event al|
|000029f0| 73 6f 20 61 6c 6c 6f 77 | 73 20 75 73 65 72 73 20 |so allow|s users |
|00002a00| 74 6f 20 73 77 69 74 63 | 68 20 62 65 74 77 65 65 |to switc|h betwee|
|00002a10| 6e 20 6d 75 6c 74 69 70 | 6c 65 20 6f 70 65 6e 20 |n multip|le open |
|00002a20| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2e 0d 41 6e |applicat|ions..An|
|00002a30| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 68 61 | applica|tion tha|
|00002a40| 74 20 69 73 20 69 6e 20 | 74 68 65 20 62 61 63 6b |t is in |the back|
|00002a50| 67 72 6f 75 6e 64 20 63 | 61 6e 20 67 65 74 20 43 |ground c|an get C|
|00002a60| 50 55 20 74 69 6d 65 20 | 62 75 74 20 63 61 6e d5 |PU time |but can.|
|00002a70| 74 20 69 6e 74 65 72 61 | 63 74 20 77 69 74 68 20 |t intera|ct with |
|00002a80| 74 68 65 20 75 73 65 72 | 20 77 68 69 6c 65 20 69 |the user| while i|
|00002a90| 74 20 69 73 20 69 6e 20 | 74 68 65 20 62 61 63 6b |t is in |the back|
|00002aa0| 67 72 6f 75 6e 64 2e 20 | 28 48 6f 77 65 76 65 72 |ground. |(However|
|00002ab0| 2c 20 74 68 65 20 75 73 | 65 72 20 63 61 6e 20 63 |, the us|er can c|
|00002ac0| 68 6f 6f 73 65 20 74 6f | 20 62 72 69 6e 67 20 74 |hoose to| bring t|
|00002ad0| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |he appli|cation t|
|00002ae0| 6f 20 74 68 65 20 66 6f | 72 65 67 72 6f 75 6e 64 |o the fo|reground|
|00002af0| d1 66 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 62 79 |.for exa|mple, by|
|00002b00| 20 63 6c 69 63 6b 69 6e | 67 20 69 6e 20 6f 6e 65 | clickin|g in one|
|00002b10| 20 6f 66 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | of the |applicat|
|00002b20| 69 6f 6e d5 73 20 77 69 | 6e 64 6f 77 73 2e 29 20 |ion.s wi|ndows.) |
|00002b30| 41 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |An appli|cation c|
|00002b40| 61 6e 20 61 6c 73 6f 20 | 70 6f 73 74 20 61 20 6e |an also |post a n|
|00002b50| 6f 74 69 66 69 63 61 74 | 69 6f 6e 20 72 65 71 75 |otificat|ion requ|
|00002b60| 65 73 74 20 75 73 69 6e | 67 20 74 68 65 20 4e 6f |est usin|g the No|
|00002b70| 74 69 66 69 63 61 74 69 | 6f 6e 20 4d 61 6e 61 67 |tificati|on Manag|
|00002b80| 65 72 20 69 66 20 74 68 | 65 20 61 70 70 6c 69 63 |er if th|e applic|
|00002b90| 61 74 69 6f 6e 20 69 73 | 20 69 6e 20 74 68 65 20 |ation is| in the |
|00002ba0| 62 61 63 6b 67 72 6f 75 | 6e 64 20 61 6e 64 20 72 |backgrou|nd and r|
|00002bb0| 65 71 75 69 72 65 73 20 | 74 68 65 20 75 73 65 72 |equires |the user|
|00002bc0| d5 73 20 61 74 74 65 6e | 74 69 6f 6e 2e 20 41 6e |.s atten|tion. An|
|00002bd0| 79 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 74 68 |y applic|ation th|
|00002be0| 61 74 20 68 61 73 20 74 | 68 65 20 63 61 6e 42 61 |at has t|he canBa|
|00002bf0| 63 6b 67 72 6f 75 6e 64 | 20 66 6c 61 67 20 73 65 |ckground| flag se|
|00002c00| 74 20 69 6e 20 69 74 73 | 20 27 53 49 5a 45 27 20 |t in its| 'SIZE' |
|00002c10| 72 65 73 6f 75 72 63 65 | 20 69 73 20 65 6c 69 67 |resource| is elig|
|00002c20| 69 62 6c 65 20 74 6f 20 | 6f 62 74 61 69 6e 20 61 |ible to |obtain a|
|00002c30| 63 63 65 73 73 20 74 6f | 20 74 68 65 20 43 50 55 |ccess to| the CPU|
|00002c40| 20 77 68 65 6e 20 69 74 | 20 69 73 20 69 6e 20 74 | when it| is in t|
|00002c50| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 2e 0d 41 |he backg|round..A|
|00002c60| 74 20 61 6e 79 20 67 69 | 76 65 6e 20 74 69 6d 65 |t any gi|ven time|
|00002c70| 20 61 20 70 72 6f 63 65 | 73 73 20 69 73 20 65 69 | a proce|ss is ei|
|00002c80| 74 68 65 72 20 69 6e 20 | 74 68 65 20 66 6f 72 65 |ther in |the fore|
|00002c90| 67 72 6f 75 6e 64 20 6f | 72 20 74 68 65 20 62 61 |ground o|r the ba|
|00002ca0| 63 6b 67 72 6f 75 6e 64 | 3b 20 61 20 70 72 6f 63 |ckground|; a proc|
|00002cb0| 65 73 73 20 63 61 6e 20 | 73 77 69 74 63 68 20 62 |ess can |switch b|
|00002cc0| 65 74 77 65 65 6e 20 74 | 68 65 20 74 77 6f 20 73 |etween t|he two s|
|00002cd0| 74 61 74 65 73 20 61 74 | 20 77 65 6c 6c 2d 64 65 |tates at| well-de|
|00002ce0| 66 69 6e 65 64 20 74 69 | 6d 65 73 2e 0d 54 68 65 |fined ti|mes..The|
|00002cf0| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 65 | Event M|anager e|
|00002d00| 6e 73 75 72 65 73 20 74 | 68 61 74 20 73 77 69 74 |nsures t|hat swit|
|00002d10| 63 68 69 6e 67 20 62 65 | 74 77 65 65 6e 20 61 70 |ching be|tween ap|
|00002d20| 70 6c 69 63 61 74 69 6f | 6e 73 20 6f 63 63 75 72 |plicatio|ns occur|
|00002d30| 73 20 69 6e 20 61 20 73 | 6d 6f 6f 74 68 20 66 61 |s in a s|mooth fa|
|00002d40| 73 68 69 6f 6e d1 62 79 | 20 73 65 6e 64 69 6e 67 |shion.by| sending|
|00002d50| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00002d60| 6e 20 61 6e 20 65 76 65 | 6e 74 20 77 68 65 6e 20 |n an eve|nt when |
|00002d70| 69 74 20 69 73 20 61 62 | 6f 75 74 20 74 6f 20 62 |it is ab|out to b|
|00002d80| 65 20 73 75 73 70 65 6e | 64 65 64 2c 20 61 6e 64 |e suspen|ded, and|
|00002d90| 20 73 65 6e 64 69 6e 67 | 20 69 74 20 61 6e 20 65 | sending| it an e|
|00002da0| 76 65 6e 74 20 77 68 65 | 6e 20 69 74 20 68 61 73 |vent whe|n it has|
|00002db0| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 74 69 6d 65 | process|ing time|
|00002dc0| 20 61 67 61 69 6e 20 61 | 6e 64 20 63 61 6e 20 72 | again a|nd can r|
|00002dd0| 65 73 75 6d 65 20 65 78 | 65 63 75 74 69 6e 67 2e |esume ex|ecuting.|
|00002de0| 20 54 68 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 | The Eve|nt Manag|
|00002df0| 65 72 20 61 6e 64 20 50 | 72 6f 63 65 73 73 20 4d |er and P|rocess M|
|00002e00| 61 6e 61 67 65 72 20 63 | 6f 6f 72 64 69 6e 61 74 |anager c|oordinat|
|00002e10| 65 20 74 68 69 73 20 73 | 77 69 74 63 68 69 6e 67 |e this s|witching|
|00002e20| 20 61 6e 64 20 73 63 68 | 65 64 75 6c 69 6e 67 20 | and sch|eduling |
|00002e30| 6f 66 20 70 72 6f 63 65 | 73 73 6f 72 20 74 69 6d |of proce|ssor tim|
|00002e40| 65 20 61 6d 6f 6e 67 20 | 6d 61 6e 79 20 61 70 70 |e among |many app|
|00002e50| 6c 69 63 61 74 69 6f 6e | 73 2e 0d 59 6f 75 72 20 |lication|s..Your |
|00002e60| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 63 61 6e 20 |applicat|ion can |
|00002e70| 72 65 63 65 69 76 65 20 | 76 61 72 69 6f 75 73 20 |receive |various |
|00002e80| 74 79 70 65 73 20 6f 66 | 20 65 76 65 6e 74 73 3a |types of| events:|
|00002e90| 20 6c 6f 77 2d 6c 65 76 | 65 6c 20 65 76 65 6e 74 | low-lev|el event|
|00002ea0| 73 2c 20 6f 70 65 72 61 | 74 69 6e 67 2d 73 79 73 |s, opera|ting-sys|
|00002eb0| 74 65 6d 20 65 76 65 6e | 74 73 2c 20 61 6e 64 20 |tem even|ts, and |
|00002ec0| 68 69 67 68 2d 6c 65 76 | 65 6c 20 65 76 65 6e 74 |high-lev|el event|
|00002ed0| 73 2e 20 0d 54 68 65 20 | 45 76 65 6e 74 20 4d 61 |s. .The |Event Ma|
|00002ee0| 6e 61 67 65 72 20 72 65 | 74 75 72 6e 73 20 6c 6f |nager re|turns lo|
|00002ef0| 77 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 73 20 74 |w-level |events t|
|00002f00| 6f 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |o your a|pplicati|
|00002f10| 6f 6e 20 66 6f 72 20 6f | 63 63 75 72 72 65 6e 63 |on for o|ccurrenc|
|00002f20| 65 73 20 73 75 63 68 20 | 61 73 20 74 68 65 20 75 |es such |as the u|
|00002f30| 73 65 72 20 70 72 65 73 | 73 69 6e 67 20 74 68 65 |ser pres|sing the|
|00002f40| 20 6d 6f 75 73 65 20 62 | 75 74 74 6f 6e 2c 20 72 | mouse b|utton, r|
|00002f50| 65 6c 65 61 73 69 6e 67 | 20 74 68 65 20 6d 6f 75 |eleasing| the mou|
|00002f60| 73 65 20 62 75 74 74 6f | 6e 2c 20 70 72 65 73 73 |se butto|n, press|
|00002f70| 69 6e 67 20 61 20 6b 65 | 79 20 6f 6e 20 74 68 65 |ing a ke|y on the|
|00002f80| 20 6b 65 79 62 6f 61 72 | 64 2c 20 6f 72 20 69 6e | keyboar|d, or in|
|00002f90| 73 65 72 74 69 6e 67 20 | 61 20 64 69 73 6b 2e 20 |serting |a disk. |
|00002fa0| 54 68 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |The Even|t Manage|
|00002fb0| 72 20 61 6c 73 6f 20 72 | 65 74 75 72 6e 73 20 6c |r also r|eturns l|
|00002fc0| 6f 77 2d 6c 65 76 65 6c | 20 65 76 65 6e 74 73 20 |ow-level| events |
|00002fd0| 74 6f 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |to your |applicat|
|00002fe0| 69 6f 6e 20 69 66 20 79 | 6f 75 72 20 61 70 70 6c |ion if y|our appl|
|00002ff0| 69 63 61 74 69 6f 6e 20 | 6e 65 65 64 73 20 74 6f |ication |needs to|
|00003000| 20 61 63 74 69 76 61 74 | 65 20 6f 72 20 75 70 64 | activat|e or upd|
|00003010| 61 74 65 20 6f 6e 65 20 | 6f 66 20 69 74 73 20 77 |ate one |of its w|
|00003020| 69 6e 64 6f 77 73 2e 0d | 54 68 65 20 45 76 65 6e |indows..|The Even|
|00003030| 74 20 4d 61 6e 61 67 65 | 72 20 72 65 74 75 72 6e |t Manage|r return|
|00003040| 73 20 6f 70 65 72 61 74 | 69 6e 67 2d 73 79 73 74 |s operat|ing-syst|
|00003050| 65 6d 20 65 76 65 6e 74 | 73 20 74 6f 20 79 6f 75 |em event|s to you|
|00003060| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 77 68 |r applic|ation wh|
|00003070| 65 6e 20 74 68 65 20 70 | 72 6f 63 65 73 73 69 6e |en the p|rocessin|
|00003080| 67 20 73 74 61 74 75 73 | 20 6f 66 20 79 6f 75 72 |g status| of your|
|00003090| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 69 73 20 | applica|tion is |
|000030a0| 61 62 6f 75 74 20 74 6f | 20 63 68 61 6e 67 65 20 |about to| change |
|000030b0| 6f 72 20 68 61 73 20 63 | 68 61 6e 67 65 64 2e 20 |or has c|hanged. |
|000030c0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 69 66 20 |For exam|ple, if |
|000030d0| 61 20 75 73 65 72 20 62 | 72 69 6e 67 73 20 79 6f |a user b|rings yo|
|000030e0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |ur appli|cation t|
|000030f0| 6f 20 74 68 65 20 66 6f | 72 65 67 72 6f 75 6e 64 |o the fo|reground|
|00003100| 2c 20 74 68 65 20 50 72 | 6f 63 65 73 73 20 4d 61 |, the Pr|ocess Ma|
|00003110| 6e 61 67 65 72 20 73 65 | 6e 64 73 20 61 6e 20 65 |nager se|nds an e|
|00003120| 76 65 6e 74 20 74 68 72 | 6f 75 67 68 20 74 68 65 |vent thr|ough the|
|00003130| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 74 | Event M|anager t|
|00003140| 6f 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |o your a|pplicati|
|00003150| 6f 6e 2e 20 53 6f 6d 65 | 20 6f 66 20 74 68 65 20 |on. Some| of the |
|00003160| 77 6f 72 6b 20 6f 66 20 | 72 65 61 63 74 69 76 61 |work of |reactiva|
|00003170| 74 69 6e 67 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |ting you|r applic|
|00003180| 61 74 69 6f 6e 20 69 73 | 20 64 6f 6e 65 20 61 75 |ation is| done au|
|00003190| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 2c 20 62 6f 74 |tomatica|lly, bot|
|000031a0| 68 20 62 79 20 74 68 65 | 20 50 72 6f 63 65 73 73 |h by the| Process|
|000031b0| 20 4d 61 6e 61 67 65 72 | 20 61 6e 64 20 62 79 20 | Manager| and by |
|000031c0| 74 68 65 20 57 69 6e 64 | 6f 77 20 4d 61 6e 61 67 |the Wind|ow Manag|
|000031d0| 65 72 3b 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |er; your| applica|
|000031e0| 74 69 6f 6e 20 6d 75 73 | 74 20 74 61 6b 65 20 63 |tion mus|t take c|
|000031f0| 61 72 65 20 6f 66 20 61 | 6e 79 20 66 75 72 74 68 |are of a|ny furth|
|00003200| 65 72 20 70 72 6f 63 65 | 73 73 69 6e 67 20 6e 65 |er proce|ssing ne|
|00003210| 65 64 65 64 20 61 73 20 | 61 20 72 65 73 75 6c 74 |eded as |a result|
|00003220| 20 6f 66 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | of your| applica|
|00003230| 74 69 6f 6e 20 62 65 69 | 6e 67 20 72 65 61 63 74 |tion bei|ng react|
|00003240| 69 76 61 74 65 64 2e 0d | 54 68 65 20 45 76 65 6e |ivated..|The Even|
|00003250| 74 20 4d 61 6e 61 67 65 | 72 20 72 65 74 75 72 6e |t Manage|r return|
|00003260| 73 20 68 69 67 68 2d 6c | 65 76 65 6c 20 65 76 65 |s high-l|evel eve|
|00003270| 6e 74 73 20 74 6f 20 79 | 6f 75 72 20 61 70 70 6c |nts to y|our appl|
|00003280| 69 63 61 74 69 6f 6e 20 | 61 73 20 61 20 72 65 73 |ication |as a res|
|00003290| 75 6c 74 20 6f 66 20 63 | 6f 6d 6d 75 6e 69 63 61 |ult of c|ommunica|
|000032a0| 74 69 6f 6e 20 64 69 72 | 65 63 74 65 64 20 74 6f |tion dir|ected to|
|000032b0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000032c0| 6e 20 66 72 6f 6d 20 61 | 6e 6f 74 68 65 72 20 61 |n from a|nother a|
|000032d0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6f 72 20 70 72 |pplicati|on or pr|
|000032e0| 6f 63 65 73 73 2e 20 0d | 4c 6f 77 2d 6c 65 76 65 |ocess. .|Low-leve|
|000032f0| 6c 20 65 76 65 6e 74 73 | 2c 20 65 78 63 65 70 74 |l events|, except|
|00003300| 20 66 6f 72 20 75 70 64 | 61 74 65 20 65 76 65 6e | for upd|ate even|
|00003310| 74 73 20 61 6e 64 20 6e | 75 6c 6c 20 65 76 65 6e |ts and n|ull even|
|00003320| 74 73 2c 20 61 72 65 20 | 61 6c 77 61 79 73 20 64 |ts, are |always d|
|00003330| 69 72 65 63 74 65 64 20 | 74 6f 20 74 68 65 20 66 |irected |to the f|
|00003340| 6f 72 65 67 72 6f 75 6e | 64 20 70 72 6f 63 65 73 |oregroun|d proces|
|00003350| 73 2e 20 4f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |s. Opera|ting sys|
|00003360| 74 65 6d 20 65 76 65 6e | 74 73 20 61 72 65 20 61 |tem even|ts are a|
|00003370| 6c 73 6f 20 61 6c 77 61 | 79 73 20 64 69 72 65 63 |lso alwa|ys direc|
|00003380| 74 65 64 20 74 6f 20 74 | 68 65 20 66 6f 72 65 67 |ted to t|he foreg|
|00003390| 72 6f 75 6e 64 20 70 72 | 6f 63 65 73 73 2e 20 48 |round pr|ocess. H|
|000033a0| 69 67 68 2d 6c 65 76 65 | 6c 20 65 76 65 6e 74 73 |igh-leve|l events|
|000033b0| 2c 20 75 70 64 61 74 65 | 20 65 76 65 6e 74 73 2c |, update| events,|
|000033c0| 20 61 6e 64 20 6e 75 6c | 6c 20 65 76 65 6e 74 73 | and nul|l events|
|000033d0| 20 63 61 6e 20 62 65 20 | 64 69 72 65 63 74 65 64 | can be |directed|
|000033e0| 20 74 6f 20 74 68 65 20 | 66 6f 72 65 67 72 6f 75 | to the |foregrou|
|000033f0| 6e 64 20 70 72 6f 63 65 | 73 73 20 6f 72 20 62 61 |nd proce|ss or ba|
|00003400| 63 6b 67 72 6f 75 6e 64 | 20 70 72 6f 63 65 73 73 |ckground| process|
|00003410| 65 73 2e 0d 59 6f 75 20 | 63 61 6e 20 73 70 65 63 |es..You |can spec|
|00003420| 69 66 79 20 77 68 69 63 | 68 20 74 79 70 65 73 20 |ify whic|h types |
|00003430| 6f 66 20 65 76 65 6e 74 | 73 20 79 6f 75 20 77 61 |of event|s you wa|
|00003440| 6e 74 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |nt your |applicat|
|00003450| 69 6f 6e 20 74 6f 20 72 | 65 63 65 69 76 65 2e 20 |ion to r|eceive. |
|00003460| 59 6f 75 20 64 6f 20 74 | 68 69 73 20 62 79 20 73 |You do t|his by s|
|00003470| 70 65 63 69 66 79 69 6e | 67 20 61 6e 20 65 76 65 |pecifyin|g an eve|
|00003480| 6e 74 20 6d 61 73 6b 20 | 61 73 20 61 20 70 61 72 |nt mask |as a par|
|00003490| 61 6d 65 74 65 72 20 74 | 6f 20 76 61 72 69 6f 75 |ameter t|o variou|
|000034a0| 73 20 45 76 65 6e 74 20 | 4d 61 6e 61 67 65 72 20 |s Event |Manager |
|000034b0| 72 6f 75 74 69 6e 65 73 | 2e 20 41 6e 20 65 76 65 |routines|. An eve|
|000034c0| 6e 74 20 6d 61 73 6b 20 | 61 6c 6c 6f 77 73 20 79 |nt mask |allows y|
|000034d0| 6f 75 20 74 6f 20 6d 61 | 73 6b 20 6f 75 74 20 74 |ou to ma|sk out t|
|000034e0| 68 65 20 65 76 65 6e 74 | 73 20 79 6f 75 20 61 72 |he event|s you ar|
|000034f0| 65 20 6e 6f 74 20 69 6e | 74 65 72 65 73 74 65 64 |e not in|terested|
|00003500| 20 69 6e 20 72 65 63 65 | 69 76 69 6e 67 2e 20 46 | in rece|iving. F|
|00003510| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 79 6f 75 20 |or examp|le, you |
|00003520| 63 61 6e 20 61 63 63 65 | 70 74 20 61 6c 6c 20 65 |can acce|pt all e|
|00003530| 76 65 6e 74 73 20 65 78 | 63 65 70 74 20 68 69 67 |vents ex|cept hig|
|00003540| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 73 2e 0d |h-level |events..|
|00003550| 45 76 65 6e 74 73 20 63 | 61 6e 20 6f 72 69 67 69 |Events c|an origi|
|00003560| 6e 61 74 65 20 66 72 6f | 6d 20 61 20 6e 75 6d 62 |nate fro|m a numb|
|00003570| 65 72 20 6f 66 20 64 69 | 66 66 65 72 65 6e 74 20 |er of di|fferent |
|00003580| 73 6f 75 72 63 65 73 3a | 20 74 68 65 20 4f 70 65 |sources:| the Ope|
|00003590| 72 61 74 69 6e 67 20 53 | 79 73 74 65 6d 20 45 76 |rating S|ystem Ev|
|000035a0| 65 6e 74 20 4d 61 6e 61 | 67 65 72 2c 20 57 69 6e |ent Mana|ger, Win|
|000035b0| 64 6f 77 20 4d 61 6e 61 | 67 65 72 2c 20 50 72 6f |dow Mana|ger, Pro|
|000035c0| 63 65 73 73 20 4d 61 6e | 61 67 65 72 2c 20 61 6e |cess Man|ager, an|
|000035d0| 64 20 50 50 43 20 54 6f | 6f 6c 62 6f 78 2e 20 46 |d PPC To|olbox. F|
|000035e0| 69 67 75 72 65 20 31 2d | 31 20 73 68 6f 77 73 20 |igure 1-|1 shows |
|000035f0| 74 68 65 20 72 65 6c 61 | 74 69 6f 6e 73 68 69 70 |the rela|tionship|
|00003600| 73 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 54 6f |s betwee|n the To|
|00003610| 6f 6c 62 6f 78 20 45 76 | 65 6e 74 20 4d 61 6e 61 |olbox Ev|ent Mana|
|00003620| 67 65 72 2c 20 6f 74 68 | 65 72 20 70 61 72 74 73 |ger, oth|er parts|
|00003630| 20 6f 66 20 74 68 65 20 | 73 79 73 74 65 6d 20 73 | of the |system s|
|00003640| 6f 66 74 77 61 72 65 2c | 20 61 6e 64 20 79 6f 75 |oftware,| and you|
|00003650| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 0d 52 |r applic|ation..R|
|00003660| 65 6c 61 74 69 6f 6e 73 | 68 69 70 73 20 62 65 74 |elations|hips bet|
|00003670| 77 65 65 6e 20 74 68 65 | 20 54 6f 6f 6c 62 6f 78 |ween the| Toolbox|
|00003680| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 61 | Event M|anager a|
|00003690| 6e 64 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |nd your |applicat|
|000036a0| 69 6f 6e 0d 54 68 65 20 | 4f 70 65 72 61 74 69 6e |ion.The |Operatin|
|000036b0| 67 20 53 79 73 74 65 6d | 20 45 76 65 6e 74 20 4d |g System| Event M|
|000036c0| 61 6e 61 67 65 72 20 63 | 72 65 61 74 65 73 20 61 |anager c|reates a|
|000036d0| 6e 64 20 6d 61 69 6e 74 | 61 69 6e 73 20 61 20 71 |nd maint|ains a q|
|000036e0| 75 65 75 65 20 72 65 66 | 65 72 72 65 64 20 74 6f |ueue ref|erred to|
|000036f0| 20 61 73 20 74 68 65 20 | 4f 70 65 72 61 74 69 6e | as the |Operatin|
|00003700| 67 20 53 79 73 74 65 6d | 20 65 76 65 6e 74 20 71 |g System| event q|
|00003710| 75 65 75 65 2e 20 54 68 | 65 20 4f 70 65 72 61 74 |ueue. Th|e Operat|
|00003720| 69 6e 67 20 53 79 73 74 | 65 6d 20 45 76 65 6e 74 |ing Syst|em Event|
|00003730| 20 4d 61 6e 61 67 65 72 | 20 64 65 74 65 63 74 73 | Manager| detects|
|00003740| 20 61 6e 64 20 72 65 70 | 6f 72 74 73 20 6c 6f 77 | and rep|orts low|
|00003750| 2d 6c 65 76 65 6c 20 68 | 61 72 64 77 61 72 65 2d |-level h|ardware-|
|00003760| 72 65 6c 61 74 65 64 20 | 65 76 65 6e 74 73 20 73 |related |events s|
|00003770| 75 63 68 20 61 73 20 6d | 6f 75 73 65 20 63 6c 69 |uch as m|ouse cli|
|00003780| 63 6b 73 2c 20 6b 65 79 | 20 70 72 65 73 73 65 73 |cks, key| presses|
|00003790| 2c 20 61 6e 64 20 64 69 | 73 6b 20 69 6e 73 65 72 |, and di|sk inser|
|000037a0| 74 69 6f 6e 73 2e 20 54 | 68 65 20 4f 70 65 72 61 |tions. T|he Opera|
|000037b0| 74 69 6e 67 20 53 79 73 | 74 65 6d 20 45 76 65 6e |ting Sys|tem Even|
|000037c0| 74 20 4d 61 6e 61 67 65 | 72 20 70 6c 61 63 65 73 |t Manage|r places|
|000037d0| 20 74 68 65 73 65 20 65 | 76 65 6e 74 73 20 69 6e | these e|vents in|
|000037e0| 20 74 68 65 20 4f 70 65 | 72 61 74 69 6e 67 20 53 | the Ope|rating S|
|000037f0| 79 73 74 65 6d 20 65 76 | 65 6e 74 20 71 75 65 75 |ystem ev|ent queu|
|00003800| 65 2e 20 54 68 65 20 54 | 6f 6f 6c 62 6f 78 20 45 |e. The T|oolbox E|
|00003810| 76 65 6e 74 20 4d 61 6e | 61 67 65 72 20 72 65 74 |vent Man|ager ret|
|00003820| 72 69 65 76 65 73 20 65 | 76 65 6e 74 73 20 66 72 |rieves e|vents fr|
|00003830| 6f 6d 20 74 68 69 73 20 | 65 76 65 6e 74 20 71 75 |om this |event qu|
|00003840| 65 75 65 20 61 6e 64 20 | 72 65 74 75 72 6e 73 20 |eue and |returns |
|00003850| 65 76 65 6e 74 73 2c 20 | 6f 6e 65 20 61 74 20 61 |events, |one at a|
|00003860| 20 74 69 6d 65 20 61 74 | 20 79 6f 75 72 20 61 70 | time at| your ap|
|00003870| 70 6c 69 63 61 74 69 6f | 6e d5 73 20 72 65 71 75 |plicatio|n.s requ|
|00003880| 65 73 74 2c 20 74 6f 20 | 79 6f 75 72 20 61 70 70 |est, to |your app|
|00003890| 6c 69 63 61 74 69 6f 6e | 2e 0d 41 20 6d 61 78 69 |lication|..A maxi|
|000038a0| 6d 75 6d 20 6f 66 20 32 | 30 20 65 76 65 6e 74 73 |mum of 2|0 events|
|000038b0| 20 63 61 6e 20 62 65 20 | 70 65 6e 64 69 6e 67 20 | can be |pending |
|000038c0| 69 6e 20 74 68 65 20 4f | 70 65 72 61 74 69 6e 67 |in the O|perating|
|000038d0| 20 53 79 73 74 65 6d 20 | 65 76 65 6e 74 20 71 75 | System |event qu|
|000038e0| 65 75 65 2e 20 4f 6e 63 | 65 20 74 68 65 20 65 76 |eue. Onc|e the ev|
|000038f0| 65 6e 74 20 71 75 65 75 | 65 20 63 6f 6e 74 61 69 |ent queu|e contai|
|00003900| 6e 73 20 32 30 20 65 76 | 65 6e 74 73 2c 20 79 6f |ns 20 ev|ents, yo|
|00003910| 75 20 63 61 6e 20 62 65 | 67 69 6e 20 74 6f 20 6c |u can be|gin to l|
|00003920| 6f 73 65 20 65 76 65 6e | 74 73 2e 20 49 66 20 74 |ose even|ts. If t|
|00003930| 68 65 20 4f 70 65 72 61 | 74 69 6e 67 20 53 79 73 |he Opera|ting Sys|
|00003940| 74 65 6d 20 65 76 65 6e | 74 20 71 75 65 75 65 20 |tem even|t queue |
|00003950| 62 65 63 6f 6d 65 73 20 | 66 75 6c 6c 2c 20 74 68 |becomes |full, th|
|00003960| 65 20 4f 70 65 72 61 74 | 69 6e 67 20 53 79 73 74 |e Operat|ing Syst|
|00003970| 65 6d 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |em Event| Manager|
|00003980| 20 62 65 67 69 6e 73 20 | 74 6f 20 64 69 73 63 61 | begins |to disca|
|00003990| 72 64 20 6f 6c 64 20 65 | 76 65 6e 74 73 20 74 6f |rd old e|vents to|
|000039a0| 20 6d 61 6b 65 20 72 6f | 6f 6d 20 66 6f 72 20 6e | make ro|om for n|
|000039b0| 65 77 20 6f 6e 65 73 20 | 61 73 20 65 76 65 6e 74 |ew ones |as event|
|000039c0| 73 20 61 72 65 20 70 6f | 73 74 65 64 2e 20 54 68 |s are po|sted. Th|
|000039d0| 65 20 4f 70 65 72 61 74 | 69 6e 67 20 53 79 73 74 |e Operat|ing Syst|
|000039e0| 65 6d 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |em Event| Manager|
|000039f0| 20 61 6c 77 61 79 73 20 | 64 69 73 63 61 72 64 73 | always |discards|
|00003a00| 20 74 68 65 20 6f 6c 64 | 65 73 74 20 65 76 65 6e | the old|est even|
|00003a10| 74 20 69 6e 20 74 68 65 | 20 71 75 65 75 65 20 77 |t in the| queue w|
|00003a20| 68 65 6e 20 69 74 20 6d | 75 73 74 20 64 69 73 63 |hen it m|ust disc|
|00003a30| 61 72 64 20 61 6e 20 65 | 76 65 6e 74 2e 20 48 6f |ard an e|vent. Ho|
|00003a40| 77 65 76 65 72 2c 20 74 | 68 69 73 20 69 73 20 6e |wever, t|his is n|
|00003a50| 6f 74 20 61 20 63 6f 6d | 6d 6f 6e 20 6f 63 63 75 |ot a com|mon occu|
|00003a60| 72 72 65 6e 63 65 3b 20 | 79 6f 75 72 20 61 70 70 |rrence; |your app|
|00003a70| 6c 69 63 61 74 69 6f 6e | 20 74 79 70 69 63 61 6c |lication| typical|
|00003a80| 6c 79 20 70 72 6f 63 65 | 73 73 65 73 20 65 76 65 |ly proce|sses eve|
|00003a90| 6e 74 73 20 6d 75 63 68 | 20 66 61 73 74 65 72 20 |nts much| faster |
|00003aa0| 74 68 61 6e 20 74 68 65 | 20 75 73 65 72 20 63 61 |than the| user ca|
|00003ab0| 6e 20 67 65 6e 65 72 61 | 74 65 20 74 68 65 6d 2e |n genera|te them.|
|00003ac0| 20 54 68 65 20 61 63 74 | 75 61 6c 20 63 61 70 61 | The act|ual capa|
|00003ad0| 63 69 74 79 20 6f 66 20 | 74 68 65 20 65 76 65 6e |city of |the even|
|00003ae0| 74 20 71 75 65 75 65 20 | 69 73 20 64 65 74 65 72 |t queue |is deter|
|00003af0| 6d 69 6e 65 64 20 62 79 | 20 73 79 73 74 65 6d 20 |mined by| system |
|00003b00| 73 74 61 72 74 75 70 20 | 69 6e 66 6f 72 6d 61 74 |startup |informat|
|00003b10| 69 6f 6e 20 73 74 6f 72 | 65 64 20 6f 6e 20 74 68 |ion stor|ed on th|
|00003b20| 65 20 73 74 61 72 74 75 | 70 20 76 6f 6c 75 6d 65 |e startu|p volume|
|00003b30| 3b 20 73 65 65 20 74 68 | 65 20 63 68 61 70 74 65 |; see th|e chapte|
|00003b40| 72 20 d2 54 68 65 20 46 | 69 6c 65 20 4d 61 6e 61 |r .The F|ile Mana|
|00003b50| 67 65 72 d3 20 69 6e 20 | 49 6e 73 69 64 65 20 4d |ger. in |Inside M|
|00003b60| 61 63 69 6e 74 6f 73 68 | 3a 20 4f 70 65 72 61 74 |acintosh|: Operat|
|00003b70| 69 6e 67 20 53 79 73 74 | 65 6d 20 66 6f 72 20 73 |ing Syst|em for s|
|00003b80| 79 73 74 65 6d 20 73 74 | 61 72 74 75 70 20 69 6e |ystem st|artup in|
|00003b90| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d 54 68 65 20 45 |formatio|n..The E|
|00003ba0| 76 65 6e 74 20 4d 61 6e | 61 67 65 72 20 63 61 6e |vent Man|ager can|
|00003bb0| 20 61 6c 73 6f 20 72 65 | 70 6f 72 74 20 65 76 65 | also re|port eve|
|00003bc0| 6e 74 73 20 66 72 6f 6d | 20 74 68 65 20 57 69 6e |nts from| the Win|
|00003bd0| 64 6f 77 20 4d 61 6e 61 | 67 65 72 20 61 6e 64 20 |dow Mana|ger and |
|00003be0| 50 72 6f 63 65 73 73 20 | 4d 61 6e 61 67 65 72 2e |Process |Manager.|
|00003bf0| 20 49 66 20 61 20 77 69 | 6e 64 6f 77 20 6e 65 65 | If a wi|ndow nee|
|00003c00| 64 73 20 74 6f 20 62 65 | 20 75 70 64 61 74 65 64 |ds to be| updated|
|00003c10| 2c 20 61 63 74 69 76 61 | 74 65 64 2c 20 6f 72 20 |, activa|ted, or |
|00003c20| 64 65 61 63 74 69 76 61 | 74 65 64 2c 20 74 68 65 |deactiva|ted, the|
|00003c30| 20 57 69 6e 64 6f 77 20 | 4d 61 6e 61 67 65 72 20 | Window |Manager |
|00003c40| 64 69 72 65 63 74 73 20 | 61 6e 20 65 76 65 6e 74 |directs |an event|
|00003c50| 20 74 6f 20 74 68 65 20 | 54 6f 6f 6c 62 6f 78 20 | to the |Toolbox |
|00003c60| 45 76 65 6e 74 20 4d 61 | 6e 61 67 65 72 2e 20 53 |Event Ma|nager. S|
|00003c70| 69 6d 69 6c 61 72 6c 79 | 2c 20 74 68 65 20 50 72 |imilarly|, the Pr|
|00003c80| 6f 63 65 73 73 20 4d 61 | 6e 61 67 65 72 20 64 69 |ocess Ma|nager di|
|00003c90| 72 65 63 74 73 20 61 6e | 20 65 76 65 6e 74 20 74 |rects an| event t|
|00003ca0| 6f 20 74 68 65 20 54 6f | 6f 6c 62 6f 78 20 45 76 |o the To|olbox Ev|
|00003cb0| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 69 66 20 74 |ent Mana|ger if t|
|00003cc0| 68 65 20 70 72 6f 63 65 | 73 73 69 6e 67 20 73 74 |he proce|ssing st|
|00003cd0| 61 74 75 73 20 6f 66 20 | 79 6f 75 72 20 61 70 70 |atus of |your app|
|00003ce0| 6c 69 63 61 74 69 6f 6e | 20 63 68 61 6e 67 65 73 |lication| changes|
|00003cf0| 2e 20 54 68 65 20 54 6f | 6f 6c 62 6f 78 20 45 76 |. The To|olbox Ev|
|00003d00| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 72 65 70 6f |ent Mana|ger repo|
|00003d10| 72 74 73 20 74 68 65 73 | 65 20 65 76 65 6e 74 73 |rts thes|e events|
|00003d20| 20 74 6f 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | to your| applica|
|00003d30| 74 69 6f 6e 2e 0d 4f 6e | 20 63 6f 6d 70 75 74 65 |tion..On| compute|
|00003d40| 72 73 20 72 75 6e 6e 69 | 6e 67 20 73 79 73 74 65 |rs runni|ng syste|
|00003d50| 6d 20 73 6f 66 74 77 61 | 72 65 20 76 65 72 73 69 |m softwa|re versi|
|00003d60| 6f 6e 20 36 2e 30 2c 20 | 4d 75 6c 74 69 46 69 6e |on 6.0, |MultiFin|
|00003d70| 64 65 72 20 70 72 6f 76 | 69 64 65 73 20 74 68 65 |der prov|ides the|
|00003d80| 20 63 61 70 61 62 69 6c | 69 74 69 65 73 20 73 75 | capabil|ities su|
|00003d90| 70 70 6c 69 65 64 20 62 | 79 20 74 68 65 20 50 72 |pplied b|y the Pr|
|00003da0| 6f 63 65 73 73 20 4d 61 | 6e 61 67 65 72 20 69 6e |ocess Ma|nager in|
|00003db0| 20 76 65 72 73 69 6f 6e | 20 37 2e 30 2e 20 4f 6e | version| 7.0. On|
|00003dc0| 20 63 6f 6d 70 75 74 65 | 72 73 20 72 75 6e 6e 69 | compute|rs runni|
|00003dd0| 6e 67 20 76 65 72 73 69 | 6f 6e 20 36 2e 30 20 77 |ng versi|on 6.0 w|
|00003de0| 69 74 68 6f 75 74 20 4d | 75 6c 74 69 46 69 6e 64 |ithout M|ultiFind|
|00003df0| 65 72 2c 20 6f 6e 6c 79 | 20 61 20 73 69 6e 67 6c |er, only| a singl|
|00003e00| 65 2d 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 65 6e |e-applic|ation en|
|00003e10| 76 69 72 6f 6e 6d 65 6e | 74 20 69 73 20 73 75 70 |vironmen|t is sup|
|00003e20| 70 6f 72 74 65 64 2e 3c | 33 36 70 74 5c 3e 5c 78 |ported.<|36pt\>\x|
|00003e30| 31 32 20 3c 38 62 61 74 | 5c 3e 75 20 20 20 0d 59 |12 <8bat|\>u .Y|
|00003e40| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00003e50| 63 61 6e 20 75 73 65 20 | 74 68 65 20 45 76 65 6e |can use |the Even|
|00003e60| 74 20 4d 61 6e 61 67 65 | 72 20 74 6f 20 73 65 6e |t Manage|r to sen|
|00003e70| 64 20 61 6e 64 20 72 65 | 63 65 69 76 65 20 68 69 |d and re|ceive hi|
|00003e80| 67 68 2d 6c 65 76 65 6c | 20 65 76 65 6e 74 73 2e |gh-level| events.|
|00003e90| 20 54 6f 20 74 72 61 6e | 73 6d 69 74 20 68 69 67 | To tran|smit hig|
|00003ea0| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 73 20 62 |h-level |events b|
|00003eb0| 65 74 77 65 65 6e 20 61 | 70 70 6c 69 63 61 74 69 |etween a|pplicati|
|00003ec0| 6f 6e 73 2c 20 74 68 65 | 20 45 76 65 6e 74 20 4d |ons, the| Event M|
|00003ed0| 61 6e 61 67 65 72 20 75 | 73 65 73 20 74 68 65 20 |anager u|ses the |
|00003ee0| 50 50 43 20 54 6f 6f 6c | 62 6f 78 20 6f 6e 20 62 |PPC Tool|box on b|
|00003ef0| 65 68 61 6c 66 20 6f 66 | 20 79 6f 75 72 20 61 70 |ehalf of| your ap|
|00003f00| 70 6c 69 63 61 74 69 6f | 6e 2e 20 46 6f 72 20 65 |plicatio|n. For e|
|00003f10| 61 63 68 20 6f 70 65 6e | 20 61 70 70 6c 69 63 61 |ach open| applica|
|00003f20| 74 69 6f 6e 20 63 61 70 | 61 62 6c 65 20 6f 66 20 |tion cap|able of |
|00003f30| 72 65 63 65 69 76 69 6e | 67 20 68 69 67 68 2d 6c |receivin|g high-l|
|00003f40| 65 76 65 6c 20 65 76 65 | 6e 74 73 2c 20 74 68 65 |evel eve|nts, the|
|00003f50| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 6d | Event M|anager m|
|00003f60| 61 69 6e 74 61 69 6e 73 | 20 61 20 73 65 70 61 72 |aintains| a separ|
|00003f70| 61 74 65 20 71 75 65 75 | 65 2c 20 72 65 66 65 72 |ate queu|e, refer|
|00003f80| 72 65 64 20 74 6f 20 61 | 73 20 74 68 65 20 61 70 |red to a|s the ap|
|00003f90| 70 6c 69 63 61 74 69 6f | 6e d5 73 20 68 69 67 68 |plicatio|n.s high|
|00003fa0| 2d 6c 65 76 65 6c 20 65 | 76 65 6e 74 20 71 75 65 |-level e|vent que|
|00003fb0| 75 65 2c 20 74 6f 20 73 | 74 6f 72 65 20 68 69 67 |ue, to s|tore hig|
|00003fc0| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 73 2e 20 |h-level |events. |
|00003fd0| 54 68 65 20 73 69 7a 65 | 20 6f 66 20 61 6e 20 61 |The size| of an a|
|00003fe0| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 68 69 67 |pplicati|on.s hig|
|00003ff0| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 20 71 75 |h-level |event qu|
|00004000| 65 75 65 20 69 73 20 6c | 69 6d 69 74 65 64 20 6f |eue is l|imited o|
|00004010| 6e 6c 79 20 62 79 20 74 | 68 65 20 61 6d 6f 75 6e |nly by t|he amoun|
|00004020| 74 20 6f 66 20 61 76 61 | 69 6c 61 62 6c 65 20 6d |t of ava|ilable m|
|00004030| 65 6d 6f 72 79 2e 0d 41 | 6e 20 61 70 70 6c 69 63 |emory..A|n applic|
|00004040| 61 74 69 6f 6e d5 73 20 | 65 76 65 6e 74 20 73 74 |ation.s |event st|
|00004050| 72 65 61 6d 20 61 72 65 | 20 74 68 6f 73 65 20 65 |ream are| those e|
|00004060| 76 65 6e 74 73 20 77 68 | 69 63 68 20 61 72 65 20 |vents wh|ich are |
|00004070| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 79 6f 75 |availabl|e to you|
|00004080| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 66 6f |r applic|ation fo|
|00004090| 72 20 72 65 74 72 69 65 | 76 69 6e 67 20 77 68 65 |r retrie|ving whe|
|000040a0| 6e 20 69 74 20 6d 61 6b | 65 73 20 61 20 72 65 71 |n it mak|es a req|
|000040b0| 75 65 73 74 20 66 6f 72 | 20 61 6e 20 65 76 65 6e |uest for| an even|
|000040c0| 74 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |t. For e|xample, |
|000040d0| 77 68 65 6e 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |when you|r applic|
|000040e0| 61 74 69 6f 6e 20 69 73 | 20 69 6e 20 74 68 65 20 |ation is| in the |
|000040f0| 62 61 63 6b 67 72 6f 75 | 6e 64 2c 20 69 74 73 20 |backgrou|nd, its |
|00004100| 65 76 65 6e 74 20 73 74 | 72 65 61 6d 20 63 61 6e |event st|ream can|
|00004110| 20 63 6f 6e 74 61 69 6e | 20 6f 6e 6c 79 20 75 70 | contain| only up|
|00004120| 64 61 74 65 20 65 76 65 | 6e 74 73 2c 20 6e 75 6c |date eve|nts, nul|
|00004130| 6c 20 65 76 65 6e 74 73 | 2c 20 61 6e 64 20 68 69 |l events|, and hi|
|00004140| 67 68 2d 6c 65 76 65 6c | 20 65 76 65 6e 74 73 2e |gh-level| events.|
|00004150| 0d 57 68 65 6e 20 79 6f | 75 72 20 61 70 70 6c 69 |.When yo|ur appli|
|00004160| 63 61 74 69 6f 6e 20 61 | 73 6b 73 20 74 68 65 20 |cation a|sks the |
|00004170| 45 76 65 6e 74 20 4d 61 | 6e 61 67 65 72 20 66 6f |Event Ma|nager fo|
|00004180| 72 20 74 68 65 20 6e 65 | 78 74 20 65 76 65 6e 74 |r the ne|xt event|
|00004190| 2c 20 74 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |, the Ev|ent Mana|
|000041a0| 67 65 72 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |ger retu|rns the |
|000041b0| 6e 65 78 74 20 61 76 61 | 69 6c 61 62 6c 65 20 65 |next ava|ilable e|
|000041c0| 76 65 6e 74 20 61 63 63 | 6f 72 64 69 6e 67 20 74 |vent acc|ording t|
|000041d0| 6f 20 69 74 73 20 70 72 | 69 6f 72 69 74 79 2e 20 |o its pr|iority. |
|000041e0| 49 6e 20 67 65 6e 65 72 | 61 6c 2c 20 74 68 65 20 |In gener|al, the |
|000041f0| 45 76 65 6e 74 20 4d 61 | 6e 61 67 65 72 20 72 65 |Event Ma|nager re|
|00004200| 74 75 72 6e 73 20 65 76 | 65 6e 74 73 20 69 6e 20 |turns ev|ents in |
|00004210| 74 68 69 73 20 6f 72 64 | 65 72 20 6f 66 20 70 72 |this ord|er of pr|
|00004220| 69 6f 72 69 74 79 3a 0d | 09 31 2e 09 6c 6f 77 2d |iority:.|.1..low-|
|00004230| 6c 65 76 65 6c 20 65 76 | 65 6e 74 73 0d 09 32 2e |level ev|ents..2.|
|00004240| 09 6f 70 65 72 61 74 69 | 6e 67 2d 73 79 73 74 65 |.operati|ng-syste|
|00004250| 6d 20 65 76 65 6e 74 73 | 20 0d 09 33 2e 09 68 69 |m events| ..3..hi|
|00004260| 67 68 2d 6c 65 76 65 6c | 20 65 76 65 6e 74 73 0d |gh-level| events.|
|00004270| 54 68 65 20 6e 65 78 74 | 20 73 65 63 74 69 6f 6e |The next| section|
|00004280| 73 20 64 65 73 63 72 69 | 62 65 20 6c 6f 77 2d 6c |s descri|be low-l|
|00004290| 65 76 65 6c 20 65 76 65 | 6e 74 73 2c 20 6f 70 65 |evel eve|nts, ope|
|000042a0| 72 61 74 69 6e 67 2d 73 | 79 73 74 65 6d 20 65 76 |rating-s|ystem ev|
|000042b0| 65 6e 74 73 2c 20 61 6e | 64 20 68 69 67 68 2d 6c |ents, an|d high-l|
|000042c0| 65 76 65 6c 20 65 76 65 | 6e 74 73 20 69 6e 20 67 |evel eve|nts in g|
|000042d0| 72 65 61 74 65 72 20 64 | 65 74 61 69 6c 2e 0d 4c |reater d|etail..L|
|000042e0| 6f 77 2d 4c 65 76 65 6c | 20 45 76 65 6e 74 73 0d |ow-Level| Events.|
|000042f0| 54 68 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |The Even|t Manage|
|00004300| 72 20 75 73 65 73 20 6c | 6f 77 2d 6c 65 76 65 6c |r uses l|ow-level|
|00004310| 20 65 76 65 6e 74 73 20 | 74 6f 20 72 65 70 6f 72 | events |to repor|
|00004320| 74 20 76 65 72 79 20 6c | 6f 77 2d 6c 65 76 65 6c |t very l|ow-level|
|00004330| 20 68 61 72 64 77 61 72 | 65 20 61 6e 64 20 73 6f | hardwar|e and so|
|00004340| 66 74 77 61 72 65 20 6f | 63 63 75 72 72 65 6e 63 |ftware o|ccurrenc|
|00004350| 65 73 2e 20 4c 6f 77 2d | 6c 65 76 65 6c 20 65 76 |es. Low-|level ev|
|00004360| 65 6e 74 73 20 72 65 70 | 6f 72 74 3a 0d 6e 09 61 |ents rep|ort:.n.a|
|00004370| 63 74 69 6f 6e 73 20 62 | 79 20 74 68 65 20 75 73 |ctions b|y the us|
|00004380| 65 72 20 28 73 75 63 68 | 20 61 73 20 70 72 65 73 |er (such| as pres|
|00004390| 73 69 6e 67 20 74 68 65 | 20 6d 6f 75 73 65 20 62 |sing the| mouse b|
|000043a0| 75 74 74 6f 6e 2c 20 74 | 79 70 69 6e 67 20 6f 6e |utton, t|yping on|
|000043b0| 20 74 68 65 20 6b 65 79 | 62 6f 61 72 64 2c 20 6f | the key|board, o|
|000043c0| 72 20 69 6e 73 65 72 74 | 69 6e 67 20 61 20 64 69 |r insert|ing a di|
|000043d0| 73 6b 29 0d 6e 09 63 68 | 61 6e 67 65 73 20 69 6e |sk).n.ch|anges in|
|000043e0| 20 77 69 6e 64 6f 77 73 | 20 6f 6e 20 74 68 65 20 | windows| on the |
|000043f0| 73 63 72 65 65 6e 0d 6e | 09 20 74 68 61 74 20 74 |screen.n|. that t|
|00004400| 68 65 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |he Event| Manager|
|00004410| 20 68 61 73 20 6e 6f 20 | 6f 74 68 65 72 20 65 76 | has no |other ev|
|00004420| 65 6e 74 73 20 74 6f 20 | 72 65 70 6f 72 74 20 0d |ents to |report .|
|00004430| 4c 6f 77 2d 6c 65 76 65 | 6c 20 65 76 65 6e 74 73 |Low-leve|l events|
|00004440| 20 74 68 61 74 20 72 65 | 70 6f 72 74 20 61 63 74 | that re|port act|
|00004450| 69 6f 6e 73 20 62 79 20 | 74 68 65 20 75 73 65 72 |ions by |the user|
|00004460| 20 69 6e 63 6c 75 64 65 | 20 6d 6f 75 73 65 2d 64 | include| mouse-d|
|00004470| 6f 77 6e 2c 20 6d 6f 75 | 73 65 2d 75 70 2c 20 6b |own, mou|se-up, k|
|00004480| 65 79 2d 64 6f 77 6e 2c | 20 6b 65 79 2d 75 70 2c |ey-down,| key-up,|
|00004490| 20 61 75 74 6f 2d 6b 65 | 79 2c 20 61 6e 64 20 64 | auto-ke|y, and d|
|000044a0| 69 73 6b 2d 69 6e 73 65 | 72 74 65 64 20 65 76 65 |isk-inse|rted eve|
|000044b0| 6e 74 73 2e 20 54 68 65 | 20 45 76 65 6e 74 20 4d |nts. The| Event M|
|000044c0| 61 6e 61 67 65 72 20 72 | 65 70 6f 72 74 73 20 61 |anager r|eports a|
|000044d0| 6e 79 20 6f 66 20 74 68 | 65 73 65 20 65 76 65 6e |ny of th|ese even|
|000044e0| 74 73 20 77 68 65 6e 20 | 74 68 65 20 75 73 65 72 |ts when |the user|
|000044f0| 20 70 65 72 66 6f 72 6d | 73 20 74 68 65 20 61 63 | perform|s the ac|
|00004500| 74 69 6f 6e 20 61 73 73 | 6f 63 69 61 74 65 64 20 |tion ass|ociated |
|00004510| 77 69 74 68 20 65 61 63 | 68 20 65 76 65 6e 74 2e |with eac|h event.|
|00004520| 20 0d 46 6f 72 20 6d 6f | 75 73 65 2d 75 70 20 61 | .For mo|use-up a|
|00004530| 6e 64 20 6d 6f 75 73 65 | 2d 64 6f 77 6e 20 65 76 |nd mouse|-down ev|
|00004540| 65 6e 74 73 2c 20 74 68 | 65 20 45 76 65 6e 74 20 |ents, th|e Event |
|00004550| 4d 61 6e 61 67 65 72 20 | 72 65 74 75 72 6e 73 20 |Manager |returns |
|00004560| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 20 6f 66 20 |the loca|tion of |
|00004570| 74 68 65 20 63 75 72 73 | 6f 72 20 61 74 20 74 68 |the curs|or at th|
|00004580| 65 20 74 69 6d 65 20 74 | 68 65 20 6d 6f 75 73 65 |e time t|he mouse|
|00004590| 20 62 75 74 74 6f 6e 20 | 77 61 73 20 70 72 65 73 | button |was pres|
|000045a0| 73 65 64 20 6f 72 20 72 | 65 6c 65 61 73 65 64 2e |sed or r|eleased.|
|000045b0| 20 46 6f 72 20 6b 65 79 | 62 6f 61 72 64 2d 72 65 | For key|board-re|
|000045c0| 6c 61 74 65 64 20 65 76 | 65 6e 74 73 2c 20 74 68 |lated ev|ents, th|
|000045d0| 65 20 45 76 65 6e 74 20 | 4d 61 6e 61 67 65 72 20 |e Event |Manager |
|000045e0| 72 65 70 6f 72 74 73 20 | 77 68 69 63 68 20 6b 65 |reports |which ke|
|000045f0| 79 20 77 61 73 20 70 72 | 65 73 73 65 64 2e 20 46 |y was pr|essed. F|
|00004600| 6f 72 20 6d 6f 75 73 65 | 2d 72 65 6c 61 74 65 64 |or mouse|-related|
|00004610| 20 61 6e 64 20 6b 65 79 | 62 6f 61 72 64 20 65 76 | and key|board ev|
|00004620| 65 6e 74 73 2c 20 74 68 | 65 20 45 76 65 6e 74 20 |ents, th|e Event |
|00004630| 4d 61 6e 61 67 65 72 20 | 61 6c 73 6f 20 72 65 70 |Manager |also rep|
|00004640| 6f 72 74 73 20 74 68 65 | 20 73 74 61 74 65 20 6f |orts the| state o|
|00004650| 66 20 74 68 65 20 6d 6f | 64 69 66 69 65 72 20 6b |f the mo|difier k|
|00004660| 65 79 73 20 28 74 68 65 | 20 4f 70 74 69 6f 6e 2c |eys (the| Option,|
|00004670| 20 43 6f 6d 6d 61 6e 64 | 2c 20 43 61 70 73 20 4c | Command|, Caps L|
|00004680| 6f 63 6b 2c 20 43 6f 6e | 74 72 6f 6c 2c 20 61 6e |ock, Con|trol, an|
|00004690| 64 20 53 68 69 66 74 20 | 6b 65 79 73 29 20 61 74 |d Shift |keys) at|
|000046a0| 20 74 68 65 20 74 69 6d | 65 20 6f 66 20 74 68 65 | the tim|e of the|
|000046b0| 20 65 76 65 6e 74 2e 0d | 57 68 65 6e 20 74 68 65 | event..|When the|
|000046c0| 20 75 73 65 72 20 69 6e | 73 65 72 74 73 20 61 20 | user in|serts a |
|000046d0| 64 69 73 6b 2c 20 74 68 | 65 20 4f 70 65 72 61 74 |disk, th|e Operat|
|000046e0| 69 6e 67 20 53 79 73 74 | 65 6d 20 61 74 74 65 6d |ing Syst|em attem|
|000046f0| 70 74 73 20 74 6f 20 6d | 6f 75 6e 74 20 74 68 65 |pts to m|ount the|
|00004700| 20 76 6f 6c 75 6d 65 20 | 6f 6e 20 74 68 65 20 64 | volume |on the d|
|00004710| 69 73 6b 20 62 79 20 63 | 61 6c 6c 69 6e 67 20 74 |isk by c|alling t|
|00004720| 68 65 20 46 69 6c 65 20 | 4d 61 6e 61 67 65 72 20 |he File |Manager |
|00004730| 66 75 6e 63 74 69 6f 6e | 20 4d 6f 75 6e 74 56 6f |function| MountVo|
|00004740| 6c 2e 20 54 68 65 20 4f | 70 65 72 61 74 69 6e 67 |l. The O|perating|
|00004750| 20 53 79 73 74 65 6d 20 | 45 76 65 6e 74 20 4d 61 | System |Event Ma|
|00004760| 6e 61 67 65 72 20 74 68 | 65 6e 20 67 65 6e 65 72 |nager th|en gener|
|00004770| 61 74 65 73 20 61 20 64 | 69 73 6b 2d 69 6e 73 65 |ates a d|isk-inse|
|00004780| 72 74 65 64 20 65 76 65 | 6e 74 2e 20 49 66 20 74 |rted eve|nt. If t|
|00004790| 68 65 20 75 73 65 72 20 | 69 73 20 69 6e 74 65 72 |he user |is inter|
|000047a0| 61 63 74 69 6e 67 20 77 | 69 74 68 20 61 20 73 74 |acting w|ith a st|
|000047b0| 61 6e 64 61 72 64 20 66 | 69 6c 65 20 64 69 61 6c |andard f|ile dial|
|000047c0| 6f 67 20 62 6f 78 2c 20 | 74 68 65 20 53 74 61 6e |og box, |the Stan|
|000047d0| 64 61 72 64 20 46 69 6c | 65 20 50 61 63 6b 61 67 |dard Fil|e Packag|
|000047e0| 65 20 69 6e 74 65 72 63 | 65 70 74 73 20 74 68 65 |e interc|epts the|
|000047f0| 20 64 69 73 6b 2d 69 6e | 73 65 72 74 65 64 20 65 | disk-in|serted e|
|00004800| 76 65 6e 74 20 61 6e 64 | 20 68 61 6e 64 6c 65 73 |vent and| handles|
|00004810| 20 69 74 2e 20 4f 74 68 | 65 72 77 69 73 65 2c 20 | it. Oth|erwise, |
|00004820| 74 68 65 20 65 76 65 6e | 74 20 69 73 20 6c 65 66 |the even|t is lef|
|00004830| 74 20 69 6e 20 74 68 65 | 20 65 76 65 6e 74 20 71 |t in the| event q|
|00004840| 75 65 75 65 20 66 6f 72 | 20 79 6f 75 72 20 61 70 |ueue for| your ap|
|00004850| 70 6c 69 63 61 74 69 6f | 6e 20 74 6f 20 72 65 74 |plicatio|n to ret|
|00004860| 72 69 65 76 65 2e 20 20 | 49 6e 20 6d 6f 73 74 20 |rieve. |In most |
|00004870| 63 61 73 65 73 20 79 6f | 75 72 20 61 70 70 6c 69 |cases yo|ur appli|
|00004880| 63 61 74 69 6f 6e 20 63 | 61 6e 20 68 61 6e 64 6c |cation c|an handl|
|00004890| 65 20 75 6e 65 78 70 65 | 63 74 65 64 20 64 69 73 |e unexpe|cted dis|
|000048a0| 6b 2d 69 6e 73 65 72 74 | 65 64 20 65 76 65 6e 74 |k-insert|ed event|
|000048b0| 73 20 62 79 20 73 69 6d | 70 6c 79 20 63 68 65 63 |s by sim|ply chec|
|000048c0| 6b 69 6e 67 20 69 66 20 | 74 68 65 20 76 6f 6c 75 |king if |the volu|
|000048d0| 6d 65 20 77 61 73 20 73 | 75 63 63 65 73 73 66 75 |me was s|uccessfu|
|000048e0| 6c 6c 79 20 6d 6f 75 6e | 74 65 64 2e 20 53 65 65 |lly moun|ted. See|
|000048f0| 20 d2 52 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 | .Respon|ding to |
|00004900| 44 69 73 6b 2d 49 6e 73 | 65 72 74 65 64 20 45 76 |Disk-Ins|erted Ev|
|00004910| 65 6e 74 73 d3 20 6f 6e | 20 70 61 67 65 20 31 2d |ents. on| page 1-|
|00004920| 36 30 20 66 6f 72 20 6d | 6f 72 65 20 69 6e 66 6f |60 for m|ore info|
|00004930| 72 6d 61 74 69 6f 6e 2e | 0d 55 70 64 61 74 65 20 |rmation.|.Update |
|00004940| 65 76 65 6e 74 73 20 61 | 6e 64 20 61 63 74 69 76 |events a|nd activ|
|00004950| 61 74 65 20 65 76 65 6e | 74 73 20 61 72 65 20 74 |ate even|ts are t|
|00004960| 77 6f 20 74 79 70 65 73 | 20 6f 66 20 6c 6f 77 2d |wo types| of low-|
|00004970| 6c 65 76 65 6c 20 65 76 | 65 6e 74 73 20 74 68 61 |level ev|ents tha|
|00004980| 74 20 74 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |t the Ev|ent Mana|
|00004990| 67 65 72 20 63 61 6e 20 | 72 65 70 6f 72 74 20 61 |ger can |report a|
|000049a0| 73 20 61 20 72 65 73 75 | 6c 74 20 6f 66 20 63 68 |s a resu|lt of ch|
|000049b0| 61 6e 67 65 73 20 69 6e | 20 74 68 65 20 61 70 70 |anges in| the app|
|000049c0| 65 61 72 61 6e 63 65 20 | 6f 66 20 77 69 6e 64 6f |earance |of windo|
|000049d0| 77 73 20 6f 6e 20 74 68 | 65 20 73 63 72 65 65 6e |ws on th|e screen|
|000049e0| 2e 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 69 |. For ex|ample, i|
|000049f0| 66 20 61 20 75 73 65 72 | 20 68 61 73 20 73 65 76 |f a user| has sev|
|00004a00| 65 72 61 6c 20 64 6f 63 | 75 6d 65 6e 74 73 20 62 |eral doc|uments b|
|00004a10| 65 6c 6f 6e 67 69 6e 67 | 20 74 6f 20 79 6f 75 72 |elonging| to your|
|00004a20| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6f 70 65 | applica|tion ope|
|00004a30| 6e 2c 20 74 68 65 20 75 | 73 65 72 20 63 61 6e 20 |n, the u|ser can |
|00004a40| 73 77 69 74 63 68 20 66 | 72 6f 6d 20 6f 6e 65 20 |switch f|rom one |
|00004a50| 64 6f 63 75 6d 65 6e 74 | 20 74 6f 20 61 6e 6f 74 |document| to anot|
|00004a60| 68 65 72 20 62 79 20 63 | 6c 69 63 6b 69 6e 67 20 |her by c|licking |
|00004a70| 69 6e 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |in the a|ppropria|
|00004a80| 74 65 20 77 69 6e 64 6f | 77 2e 20 42 65 66 6f 72 |te windo|w. Befor|
|00004a90| 65 20 74 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |e the Ev|ent Mana|
|00004aa0| 67 65 72 20 73 65 6e 64 | 73 20 79 6f 75 72 20 61 |ger send|s your a|
|00004ab0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 61 6e 79 20 65 |pplicati|on any e|
|00004ac0| 76 65 6e 74 73 20 72 65 | 6c 61 74 69 6e 67 20 74 |vents re|lating t|
|00004ad0| 6f 20 74 68 69 73 20 6f | 63 63 75 72 72 65 6e 63 |o this o|ccurrenc|
|00004ae0| 65 2c 20 74 68 65 20 57 | 69 6e 64 6f 77 20 4d 61 |e, the W|indow Ma|
|00004af0| 6e 61 67 65 72 20 64 6f | 65 73 20 73 6f 6d 65 20 |nager do|es some |
|00004b00| 77 6f 72 6b 20 66 6f 72 | 20 79 6f 75 2c 20 73 75 |work for| you, su|
|00004b10| 63 68 20 61 73 20 75 6e | 68 69 67 68 6c 69 67 68 |ch as un|highligh|
|00004b20| 74 69 6e 67 20 74 68 65 | 20 64 65 61 63 74 69 76 |ting the| deactiv|
|00004b30| 61 74 65 64 20 77 69 6e | 64 6f 77 20 61 6e 64 20 |ated win|dow and |
|00004b40| 68 69 67 68 6c 69 67 68 | 74 69 6e 67 20 74 68 65 |highligh|ting the|
|00004b50| 20 6e 65 77 6c 79 20 61 | 63 74 69 76 61 74 65 64 | newly a|ctivated|
|00004b60| 20 77 69 6e 64 6f 77 2e | 20 41 74 20 79 6f 75 72 | window.| At your|
|00004b70| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 6e | applica|tion.s n|
|00004b80| 65 78 74 20 72 65 71 75 | 65 73 74 20 66 6f 72 20 |ext requ|est for |
|00004b90| 61 6e 20 65 76 65 6e 74 | 2c 20 74 68 65 20 45 76 |an event|, the Ev|
|00004ba0| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 72 65 74 75 |ent Mana|ger retu|
|00004bb0| 72 6e 73 20 61 6e 20 61 | 63 74 69 76 61 74 65 20 |rns an a|ctivate |
|00004bc0| 65 76 65 6e 74 2e 0d 41 | 6e 20 61 63 74 69 76 61 |event..A|n activa|
|00004bd0| 74 65 20 65 76 65 6e 74 | 20 69 6e 64 69 63 61 74 |te event| indicat|
|00004be0| 65 73 20 74 68 65 20 77 | 69 6e 64 6f 77 20 69 6e |es the w|indow in|
|00004bf0| 76 6f 6c 76 65 64 20 61 | 6e 64 20 77 68 65 74 68 |volved a|nd wheth|
|00004c00| 65 72 20 74 68 65 20 77 | 69 6e 64 6f 77 20 69 73 |er the w|indow is|
|00004c10| 20 62 65 63 6f 6d 69 6e | 67 20 61 63 74 69 76 61 | becomin|g activa|
|00004c20| 74 65 64 20 6f 72 20 64 | 65 61 63 74 69 76 61 74 |ted or d|eactivat|
|00004c30| 65 64 2e 20 59 6f 75 72 | 20 61 70 70 6c 69 63 61 |ed. Your| applica|
|00004c40| 74 69 6f 6e 20 73 68 6f | 75 6c 64 20 70 65 72 66 |tion sho|uld perf|
|00004c50| 6f 72 6d 20 61 6e 79 20 | 6f 74 68 65 72 20 61 63 |orm any |other ac|
|00004c60| 74 69 6f 6e 73 20 61 73 | 20 6e 65 63 65 73 73 61 |tions as| necessa|
|00004c70| 72 79 20 74 6f 20 63 6f | 6d 70 6c 65 74 65 20 74 |ry to co|mplete t|
|00004c80| 68 65 20 61 63 74 69 6f | 6e 20 6f 66 20 74 68 65 |he actio|n of the|
|00004c90| 20 77 69 6e 64 6f 77 20 | 62 65 63 6f 6d 69 6e 67 | window |becoming|
|00004ca0| 20 61 63 74 69 76 65 20 | 6f 72 20 69 6e 61 63 74 | active |or inact|
|00004cb0| 69 76 65 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ive. For| example|
|00004cc0| 2c 20 77 68 65 6e 20 61 | 20 77 69 6e 64 6f 77 20 |, when a| window |
|00004cd0| 62 65 63 6f 6d 65 73 20 | 61 63 74 69 76 65 2c 20 |becomes |active, |
|00004ce0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00004cf0| 20 73 68 6f 75 6c 64 20 | 73 68 6f 77 20 61 6e 79 | should |show any|
|00004d00| 20 73 63 72 6f 6c 6c 20 | 62 61 72 73 20 61 6e 64 | scroll |bars and|
|00004d10| 20 72 65 73 74 6f 72 65 | 20 61 6e 79 20 73 65 6c | restore| any sel|
|00004d20| 65 63 74 69 6f 6e 73 2e | 0d 59 6f 75 72 20 61 70 |ections.|.Your ap|
|00004d30| 70 6c 69 63 61 74 69 6f | 6e 20 74 79 70 69 63 61 |plicatio|n typica|
|00004d40| 6c 6c 79 20 72 65 63 65 | 69 76 65 73 20 61 6e 20 |lly rece|ives an |
|00004d50| 61 63 74 69 76 61 74 65 | 20 65 76 65 6e 74 20 66 |activate| event f|
|00004d60| 6f 72 20 74 68 65 20 77 | 69 6e 64 6f 77 20 62 65 |or the w|indow be|
|00004d70| 69 6e 67 20 64 65 61 63 | 74 69 76 61 74 65 64 2c |ing deac|tivated,|
|00004d80| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 61 6e 20 | followe|d by an |
|00004d90| 61 63 74 69 76 61 74 65 | 20 65 76 65 6e 74 20 66 |activate| event f|
|00004da0| 6f 72 20 74 68 65 20 77 | 69 6e 64 6f 77 20 62 65 |or the w|indow be|
|00004db0| 63 6f 6d 69 6e 67 20 61 | 63 74 69 76 65 20 61 74 |coming a|ctive at|
|00004dc0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00004dd0| 6e d5 73 20 6e 65 78 74 | 20 72 65 71 75 65 73 74 |n.s next| request|
|00004de0| 20 66 6f 72 20 61 6e 20 | 65 76 65 6e 74 2e 0d 49 | for an |event..I|
|00004df0| 66 20 74 68 65 20 75 73 | 65 72 20 73 77 69 74 63 |f the us|er switc|
|00004e00| 68 65 73 20 62 65 74 77 | 65 65 6e 20 79 6f 75 72 |hes betw|een your|
|00004e10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 61 6e 64 | applica|tion and|
|00004e20| 20 61 6e 6f 74 68 65 72 | 20 61 70 70 6c 69 63 61 | another| applica|
|00004e30| 74 69 6f 6e 20 28 62 79 | 20 63 6c 69 63 6b 69 6e |tion (by| clickin|
|00004e40| 67 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |g in the| window |
|00004e50| 6f 66 20 61 6e 6f 74 68 | 65 72 20 61 70 70 6c 69 |of anoth|er appli|
|00004e60| 63 61 74 69 6f 6e 2c 20 | 66 6f 72 20 65 78 61 6d |cation, |for exam|
|00004e70| 70 6c 65 29 2c 20 79 6f | 75 72 20 61 70 70 6c 69 |ple), yo|ur appli|
|00004e80| 63 61 74 69 6f 6e 20 69 | 73 20 72 65 73 70 6f 6e |cation i|s respon|
|00004e90| 73 69 62 6c 65 20 66 6f | 72 20 61 63 74 69 76 61 |sible fo|r activa|
|00004ea0| 74 69 6e 67 20 6f 72 20 | 64 65 61 63 74 69 76 61 |ting or |deactiva|
|00004eb0| 74 69 6e 67 20 61 6e 79 | 20 77 69 6e 64 6f 77 73 |ting any| windows|
|00004ec0| 20 61 73 20 61 70 70 72 | 6f 70 72 69 61 74 65 2e | as appr|opriate.|
|00004ed0| 20 59 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | Your ap|plicatio|
|00004ee0| 6e 20 69 73 20 6e 6f 74 | 69 66 69 65 64 20 6f 66 |n is not|ified of|
|00004ef0| 20 74 68 69 73 20 6f 63 | 63 75 72 65 6e 63 65 20 | this oc|curence |
|00004f00| 74 68 72 6f 75 67 68 20 | 6f 70 65 72 61 74 69 6e |through |operatin|
|00004f10| 67 2d 73 79 73 74 65 6d | 20 65 76 65 6e 74 73 2e |g-system| events.|
|00004f20| 20 49 66 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | If your| applica|
|00004f30| 74 69 6f 6e 20 68 61 73 | 20 74 68 65 20 61 63 63 |tion has| the acc|
|00004f40| 65 70 74 53 75 73 70 65 | 6e 64 52 65 73 75 6d 65 |eptSuspe|ndResume|
|00004f50| 45 76 65 6e 74 73 20 61 | 6e 64 20 64 6f 65 73 41 |Events a|nd doesA|
|00004f60| 63 74 69 76 61 74 65 4f | 6e 46 47 53 77 69 74 63 |ctivateO|nFGSwitc|
|00004f70| 68 20 66 6c 61 67 73 20 | 73 65 74 20 69 6e 20 69 |h flags |set in i|
|00004f80| 74 73 20 20 27 53 49 5a | 45 27 20 72 65 73 6f 75 |ts 'SIZ|E' resou|
|00004f90| 72 63 65 2c 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |rce, you|r applic|
|00004fa0| 61 74 69 6f 6e 20 69 73 | 20 6e 6f 74 69 66 69 65 |ation is| notifie|
|00004fb0| 64 20 6f 66 20 74 68 69 | 73 20 6f 63 63 75 72 65 |d of thi|s occure|
|00004fc0| 6e 63 65 20 74 68 72 6f | 75 67 68 20 61 6e 20 6f |nce thro|ugh an o|
|00004fd0| 70 65 72 61 74 69 6e 67 | 2d 73 79 73 74 65 6d 20 |perating|-system |
|00004fe0| 65 76 65 6e 74 20 61 6e | 64 20 64 6f 65 73 20 6e |event an|d does n|
|00004ff0| 6f 74 20 72 65 63 65 69 | 76 65 20 61 20 73 65 70 |ot recei|ve a sep|
|00005000| 61 72 61 74 65 20 61 63 | 74 69 76 61 74 65 20 65 |arate ac|tivate e|
|00005010| 76 65 6e 74 20 77 68 65 | 6e 20 74 68 65 20 75 73 |vent whe|n the us|
|00005020| 65 72 20 73 77 69 74 63 | 68 65 73 20 62 65 74 77 |er switc|hes betw|
|00005030| 65 65 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |een appl|ications|
|00005040| 2e 3c 33 36 70 74 5c 3e | 5c 78 31 32 20 3c 38 62 |.<36pt\>|\x12 <8b|
|00005050| 61 74 5c 3e 75 0d 54 68 | 65 20 57 69 6e 64 6f 77 |at\>u.Th|e Window|
|00005060| 20 4d 61 6e 61 67 65 72 | 20 67 65 6e 65 72 61 74 | Manager| generat|
|00005070| 65 73 20 75 70 64 61 74 | 65 20 65 76 65 6e 74 73 |es updat|e events|
|00005080| 20 74 6f 20 63 6f 6e 74 | 72 6f 6c 20 74 68 65 20 | to cont|rol the |
|00005090| 61 70 70 65 61 72 61 6e | 63 65 20 6f 66 20 77 69 |appearan|ce of wi|
|000050a0| 6e 64 6f 77 73 20 6f 6e | 20 74 68 65 20 73 63 72 |ndows on| the scr|
|000050b0| 65 65 6e 2e 20 54 68 65 | 20 57 69 6e 64 6f 77 20 |een. The| Window |
|000050c0| 4d 61 6e 61 67 65 72 20 | 6b 65 65 70 73 20 74 72 |Manager |keeps tr|
|000050d0| 61 63 6b 20 6f 66 20 74 | 68 65 20 66 72 6f 6e 74 |ack of t|he front|
|000050e0| 2d 74 6f 2d 62 61 63 6b | 20 6f 72 64 65 72 69 6e |-to-back| orderin|
|000050f0| 67 20 6f 66 20 77 69 6e | 64 6f 77 73 20 61 6e 64 |g of win|dows and|
|00005100| 20 61 6c 6c 6f 77 73 20 | 77 69 6e 64 6f 77 73 20 | allows |windows |
|00005110| 74 6f 20 6f 76 65 72 6c | 61 70 20 6f 74 68 65 72 |to overl|ap other|
|00005120| 20 77 69 6e 64 6f 77 73 | 2e 20 54 68 65 20 57 69 | windows|. The Wi|
|00005130| 6e 64 6f 77 20 4d 61 6e | 61 67 65 72 20 63 6f 6f |ndow Man|ager coo|
|00005140| 72 64 69 6e 61 74 65 73 | 20 74 68 69 73 20 64 69 |rdinates| this di|
|00005150| 73 70 6c 61 79 20 73 6f | 20 74 68 61 74 20 77 68 |splay so| that wh|
|00005160| 65 6e 20 6f 6e 65 20 77 | 69 6e 64 6f 77 20 63 6f |en one w|indow co|
|00005170| 76 65 72 73 20 61 6e 6f | 74 68 65 72 20 77 69 6e |vers ano|ther win|
|00005180| 64 6f 77 20 61 6e 64 20 | 74 68 65 6e 20 74 68 65 |dow and |then the|
|00005190| 20 75 73 65 72 20 6d 6f | 76 65 73 20 74 68 65 20 | user mo|ves the |
|000051a0| 66 69 72 73 74 20 77 69 | 6e 64 6f 77 2c 20 74 68 |first wi|ndow, th|
|000051b0| 65 20 57 69 6e 64 6f 77 | 20 4d 61 6e 61 67 65 72 |e Window| Manager|
|000051c0| 20 67 65 6e 65 72 61 74 | 65 73 20 61 6e 20 75 70 | generat|es an up|
|000051d0| 64 61 74 65 20 65 76 65 | 6e 74 20 73 6f 20 74 68 |date eve|nt so th|
|000051e0| 61 74 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |at the c|ontents |
|000051f0| 6f 66 20 74 68 65 20 6e | 65 77 6c 79 20 65 78 70 |of the n|ewly exp|
|00005200| 6f 73 65 64 20 61 72 65 | 61 20 63 61 6e 20 62 65 |osed are|a can be|
|00005210| 20 75 70 64 61 74 65 64 | 2e 20 54 68 65 20 45 76 | updated|. The Ev|
|00005220| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 72 65 70 6f |ent Mana|ger repo|
|00005230| 72 74 73 20 75 70 64 61 | 74 65 20 65 76 65 6e 74 |rts upda|te event|
|00005240| 73 20 61 73 20 6e 65 65 | 64 65 64 20 74 6f 20 74 |s as nee|ded to t|
|00005250| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |he appli|cations |
|00005260| 77 68 6f 73 65 20 77 69 | 6e 64 6f 77 73 20 6e 65 |whose wi|ndows ne|
|00005270| 65 64 20 75 70 64 61 74 | 69 6e 67 2e 20 55 6e 6c |ed updat|ing. Unl|
|00005280| 69 6b 65 20 6f 74 68 65 | 72 20 6c 6f 77 2d 6c 65 |ike othe|r low-le|
|00005290| 76 65 6c 20 65 76 65 6e | 74 73 2c 20 75 70 64 61 |vel even|ts, upda|
|000052a0| 74 65 20 65 76 65 6e 74 | 73 20 63 61 6e 20 62 65 |te event|s can be|
|000052b0| 20 64 69 72 65 63 74 65 | 64 20 74 6f 20 74 68 65 | directe|d to the|
|000052c0| 20 66 6f 72 65 67 72 6f | 75 6e 64 20 70 72 6f 63 | foregro|und proc|
|000052d0| 65 73 73 20 6f 72 20 62 | 61 63 6b 67 72 6f 75 6e |ess or b|ackgroun|
|000052e0| 64 20 70 72 6f 63 65 73 | 73 65 73 2e 0d 41 63 74 |d proces|ses..Act|
|000052f0| 69 76 61 74 65 20 61 6e | 64 20 75 70 64 61 74 65 |ivate an|d update|
|00005300| 20 65 76 65 6e 74 73 20 | 67 65 6e 65 72 61 74 65 | events |generate|
|00005310| 64 20 62 79 20 74 68 65 | 20 57 69 6e 64 6f 77 20 |d by the| Window |
|00005320| 4d 61 6e 61 67 65 72 20 | 61 72 65 20 6e 6f 74 20 |Manager |are not |
|00005330| 70 6c 61 63 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |placed i|nto the |
|00005340| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00005350| 20 65 76 65 6e 74 20 71 | 75 65 75 65 20 62 75 74 | event q|ueue but|
|00005360| 20 61 72 65 20 73 65 6e | 74 20 64 69 72 65 63 74 | are sen|t direct|
|00005370| 6c 79 20 74 6f 20 74 68 | 65 20 54 6f 6f 6c 62 6f |ly to th|e Toolbo|
|00005380| 78 20 45 76 65 6e 74 20 | 4d 61 6e 61 67 65 72 2e |x Event |Manager.|
|00005390| 0d 54 68 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 |.The Eve|nt Manag|
|000053a0| 65 72 20 72 65 70 6f 72 | 74 73 20 61 20 6e 75 6c |er repor|ts a nul|
|000053b0| 6c 20 65 76 65 6e 74 20 | 74 6f 20 79 6f 75 72 20 |l event |to your |
|000053c0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 68 65 6e |applicat|ion when|
|000053d0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000053e0| 6e 20 72 65 71 75 65 73 | 74 73 20 61 6e 20 65 76 |n reques|ts an ev|
|000053f0| 65 6e 74 20 61 6e 64 20 | 79 6f 75 72 20 61 70 70 |ent and |your app|
|00005400| 6c 69 63 61 74 69 6f 6e | d5 73 20 65 76 65 6e 74 |lication|.s event|
|00005410| 20 73 74 72 65 61 6d 20 | 64 6f 65 73 20 6e 6f 74 | stream |does not|
|00005420| 20 63 6f 6e 74 61 69 6e | 20 61 6e 79 20 6f 66 20 | contain| any of |
|00005430| 74 68 65 20 72 65 71 75 | 65 73 74 65 64 20 65 76 |the requ|ested ev|
|00005440| 65 6e 74 20 74 79 70 65 | 73 2e 20 42 79 20 75 73 |ent type|s. By us|
|00005450| 69 6e 67 20 74 68 65 20 | 57 61 69 74 4e 65 78 74 |ing the |WaitNext|
|00005460| 45 76 65 6e 74 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |Event fu|nction, |
|00005470| 79 6f 75 20 63 61 6e 20 | 79 69 65 6c 64 20 74 69 |you can |yield ti|
|00005480| 6d 65 20 74 6f 20 6f 74 | 68 65 72 20 70 72 6f 63 |me to ot|her proc|
|00005490| 65 73 73 65 73 20 77 68 | 65 6e 20 6e 75 6c 6c 20 |esses wh|en null |
|000054a0| 65 76 65 6e 74 73 20 61 | 72 65 20 74 68 65 20 6f |events a|re the o|
|000054b0| 6e 6c 79 20 70 65 6e 64 | 69 6e 67 20 65 76 65 6e |nly pend|ing even|
|000054c0| 74 73 20 66 6f 72 20 79 | 6f 75 72 20 61 70 70 6c |ts for y|our appl|
|000054d0| 69 63 61 74 69 6f 6e 2e | 0d 57 68 65 6e 20 79 6f |ication.|.When yo|
|000054e0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 72 |ur appli|cation r|
|000054f0| 65 63 65 69 76 65 73 20 | 61 20 6e 75 6c 6c 20 65 |eceives |a null e|
|00005500| 76 65 6e 74 2c 20 79 6f | 75 72 20 61 70 70 6c 69 |vent, yo|ur appli|
|00005510| 63 61 74 69 6f 6e 20 63 | 61 6e 20 64 6f 20 69 64 |cation c|an do id|
|00005520| 6c 65 20 70 72 6f 63 65 | 73 73 69 6e 67 20 28 73 |le proce|ssing (s|
|00005530| 75 63 68 20 61 73 20 62 | 6c 69 6e 6b 69 6e 67 20 |uch as b|linking |
|00005540| 74 68 65 20 63 61 72 65 | 74 29 20 69 66 20 69 74 |the care|t) if it|
|00005550| 20 69 73 20 69 6e 20 74 | 68 65 20 66 6f 72 65 67 | is in t|he foreg|
|00005560| 72 6f 75 6e 64 20 6f 72 | 20 64 6f 20 6f 74 68 65 |round or| do othe|
|00005570| 72 20 74 61 73 6b 73 20 | 69 66 20 69 74 20 69 73 |r tasks |if it is|
|00005580| 20 69 6e 20 74 68 65 20 | 62 61 63 6b 67 72 6f 75 | in the |backgrou|
|00005590| 6e 64 2e 20 49 66 20 79 | 6f 75 20 77 61 6e 74 20 |nd. If y|ou want |
|000055a0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000055b0| 20 74 6f 20 72 65 63 65 | 69 76 65 20 6e 75 6c 6c | to rece|ive null|
|000055c0| 20 65 76 65 6e 74 73 20 | 77 68 65 6e 20 69 74 20 | events |when it |
|000055d0| 69 73 20 69 6e 20 74 68 | 65 20 62 61 63 6b 67 72 |is in th|e backgr|
|000055e0| 6f 75 6e 64 2c 20 79 6f | 75 20 6d 75 73 74 20 73 |ound, yo|u must s|
|000055f0| 65 74 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |et the b|ackgroun|
|00005600| 64 20 66 6c 61 67 20 74 | 6f 20 74 68 65 20 63 61 |d flag t|o the ca|
|00005610| 6e 42 61 63 6b 67 72 6f | 75 6e 64 20 63 6f 6e 73 |nBackgro|und cons|
|00005620| 74 61 6e 74 20 69 6e 20 | 79 6f 75 72 20 61 70 70 |tant in |your app|
|00005630| 6c 69 63 61 74 69 6f 6e | d5 73 20 27 53 49 5a 45 |lication|.s 'SIZE|
|00005640| 27 20 72 65 73 6f 75 72 | 63 65 2e 20 49 66 20 79 |' resour|ce. If y|
|00005650| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00005660| 64 6f 65 73 20 6e 6f 74 | 20 70 65 72 66 6f 72 6d |does not| perform|
|00005670| 20 61 6e 79 20 70 72 6f | 63 65 73 73 69 6e 67 20 | any pro|cessing |
|00005680| 69 6e 20 72 65 73 70 6f | 6e 73 65 20 74 6f 20 6e |in respo|nse to n|
|00005690| 75 6c 6c 20 65 76 65 6e | 74 73 20 77 68 65 6e 20 |ull even|ts when |
|000056a0| 69 74 20 69 73 20 69 6e | 20 74 68 65 20 62 61 63 |it is in| the bac|
|000056b0| 6b 67 72 6f 75 6e 64 2c | 20 74 68 65 6e 20 73 65 |kground,| then se|
|000056c0| 74 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |t the ba|ckground|
|000056d0| 20 66 6c 61 67 20 74 6f | 20 74 68 65 20 63 61 6e | flag to| the can|
|000056e0| 6e 6f 74 42 61 63 6b 67 | 72 6f 75 6e 64 20 63 6f |notBackg|round co|
|000056f0| 6e 73 74 61 6e 74 2e 20 | 49 66 20 79 6f 75 20 73 |nstant. |If you s|
|00005700| 65 74 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |et the b|ackgroun|
|00005710| 64 20 66 6c 61 67 20 74 | 6f 20 74 68 65 20 63 61 |d flag t|o the ca|
|00005720| 6e 6e 6f 74 42 61 63 6b | 67 72 6f 75 6e 64 20 63 |nnotBack|ground c|
|00005730| 6f 6e 73 74 61 6e 74 2c | 20 74 68 65 20 45 76 65 |onstant,| the Eve|
|00005740| 6e 74 20 4d 61 6e 61 67 | 65 72 20 64 6f 65 73 20 |nt Manag|er does |
|00005750| 6e 6f 74 20 72 65 70 6f | 72 74 20 6e 75 6c 6c 20 |not repo|rt null |
|00005760| 65 76 65 6e 74 73 20 74 | 6f 20 79 6f 75 72 20 61 |events t|o your a|
|00005770| 70 70 6c 69 63 61 74 69 | 6f 6e 20 77 68 65 6e 20 |pplicati|on when |
|00005780| 69 74 20 69 73 20 69 6e | 20 74 68 65 20 62 61 63 |it is in| the bac|
|00005790| 6b 67 72 6f 75 6e 64 2e | 20 48 6f 77 65 76 65 72 |kground.| However|
|000057a0| 2c 20 74 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |, the Ev|ent Mana|
|000057b0| 67 65 72 20 73 74 69 6c | 6c 20 72 65 70 6f 72 74 |ger stil|l report|
|000057c0| 73 20 75 70 64 61 74 65 | 20 65 76 65 6e 74 73 20 |s update| events |
|000057d0| 28 61 6e 64 20 68 69 67 | 68 2d 6c 65 76 65 6c 20 |(and hig|h-level |
|000057e0| 65 76 65 6e 74 73 20 69 | 66 20 74 68 65 20 69 73 |events i|f the is|
|000057f0| 48 69 67 68 4c 65 76 65 | 6c 45 76 65 6e 74 41 77 |HighLeve|lEventAw|
|00005800| 61 72 65 20 63 6f 6e 73 | 74 61 6e 74 20 69 73 20 |are cons|tant is |
|00005810| 73 65 74 20 69 6e 20 74 | 68 65 20 27 53 49 5a 45 |set in t|he 'SIZE|
|00005820| 27 20 72 65 73 6f 75 72 | 63 65 29 20 74 6f 20 79 |' resour|ce) to y|
|00005830| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00005840| 77 68 65 6e 20 69 74 20 | 69 73 20 69 6e 20 74 68 |when it |is in th|
|00005850| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 72 65 67 |e backgr|ound reg|
|00005860| 61 72 64 6c 65 73 73 20 | 6f 66 20 68 6f 77 20 74 |ardless |of how t|
|00005870| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 66 6c |he backg|round fl|
|00005880| 61 67 20 69 73 20 73 65 | 74 2e 0d 46 69 67 75 72 |ag is se|t..Figur|
|00005890| 65 20 31 2d 32 20 73 68 | 6f 77 73 20 74 68 65 20 |e 1-2 sh|ows the |
|000058a0| 76 61 72 69 6f 75 73 20 | 6b 69 6e 64 73 20 6f 66 |various |kinds of|
|000058b0| 20 6c 6f 77 2d 6c 65 76 | 65 6c 20 65 76 65 6e 74 | low-lev|el event|
|000058c0| 73 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |s your a|pplicati|
|000058d0| 6f 6e 20 63 61 6e 20 72 | 65 63 65 69 76 65 2e 0d |on can r|eceive..|
|000058e0| 4c 6f 77 2d 6c 65 76 65 | 6c 20 65 76 65 6e 74 73 |Low-leve|l events|
|000058f0| 0d 4f 70 65 72 61 74 69 | 6e 67 2d 53 79 73 74 65 |.Operati|ng-Syste|
|00005900| 6d 20 45 76 65 6e 74 73 | 0d 54 68 65 20 63 6f 6f |m Events|.The coo|
|00005910| 70 65 72 61 74 69 76 65 | 2c 20 6d 75 6c 74 69 74 |perative|, multit|
|00005920| 61 73 6b 69 6e 67 20 65 | 6e 76 69 72 6f 6e 6d 65 |asking e|nvironme|
|00005930| 6e 74 20 61 6c 6c 6f 77 | 73 20 74 68 65 20 75 73 |nt allow|s the us|
|00005940| 65 72 20 74 6f 20 69 6e | 74 65 72 61 63 74 20 77 |er to in|teract w|
|00005950| 69 74 68 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |ith your| applica|
|00005960| 74 69 6f 6e 20 61 6e 64 | 20 77 69 74 68 20 6f 74 |tion and| with ot|
|00005970| 68 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |her appl|ications|
|00005980| 2e 20 54 68 65 20 50 72 | 6f 63 65 73 73 20 4d 61 |. The Pr|ocess Ma|
|00005990| 6e 61 67 65 72 20 63 6f | 6f 72 64 69 6e 61 74 65 |nager co|ordinate|
|000059a0| 73 20 74 68 65 20 73 63 | 68 65 64 75 6c 69 6e 67 |s the sc|heduling|
|000059b0| 20 6f 66 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 | of appl|ications|
|000059c0| 2c 20 61 6e 64 20 74 68 | 65 20 45 76 65 6e 74 20 |, and th|e Event |
|000059d0| 4d 61 6e 61 67 65 72 20 | 63 6f 6d 6d 75 6e 69 63 |Manager |communic|
|000059e0| 61 74 65 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ates inf|ormation|
|000059f0| 20 61 62 6f 75 74 20 63 | 68 61 6e 67 65 73 20 69 | about c|hanges i|
|00005a00| 6e 20 74 68 65 20 6f 70 | 65 72 61 74 69 6e 67 20 |n the op|erating |
|00005a10| 73 74 61 74 75 73 20 6f | 66 20 61 70 70 6c 69 63 |status o|f applic|
|00005a20| 61 74 69 6f 6e 73 20 74 | 6f 20 74 68 65 20 61 70 |ations t|o the ap|
|00005a30| 70 6c 69 63 61 74 69 6f | 6e 73 20 69 6e 76 6f 6c |plicatio|ns invol|
|00005a40| 76 65 64 2e 20 0d 46 6f | 72 20 65 78 61 6d 70 6c |ved. .Fo|r exampl|
|00005a50| 65 2c 20 77 68 65 6e 20 | 79 6f 75 72 20 61 70 70 |e, when |your app|
|00005a60| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 61 62 6f 75 |lication| is abou|
|00005a70| 74 20 74 6f 20 62 65 20 | 73 77 69 74 63 68 65 64 |t to be |switched|
|00005a80| 20 69 6e 74 6f 20 74 68 | 65 20 62 61 63 6b 67 72 | into th|e backgr|
|00005a90| 6f 75 6e 64 2c 20 74 68 | 65 20 45 76 65 6e 74 20 |ound, th|e Event |
|00005aa0| 4d 61 6e 61 67 65 72 20 | 73 65 6e 64 73 20 69 74 |Manager |sends it|
|00005ab0| 20 61 20 73 75 73 70 65 | 6e 64 20 65 76 65 6e 74 | a suspe|nd event|
|00005ac0| 2e 20 54 68 65 6e 2c 20 | 77 68 65 6e 20 79 6f 75 |. Then, |when you|
|00005ad0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |r applic|ation is|
|00005ae0| 20 73 77 69 74 63 68 65 | 64 20 62 61 63 6b 20 69 | switche|d back i|
|00005af0| 6e 74 6f 20 74 68 65 20 | 66 6f 72 65 67 72 6f 75 |nto the |foregrou|
|00005b00| 6e 64 2c 20 69 74 20 72 | 65 63 65 69 76 65 73 20 |nd, it r|eceives |
|00005b10| 61 20 72 65 73 75 6d 65 | 20 65 76 65 6e 74 2e 20 |a resume| event. |
|00005b20| 54 68 65 73 65 20 74 79 | 70 65 73 20 6f 66 20 65 |These ty|pes of e|
|00005b30| 76 65 6e 74 73 2c 20 61 | 73 20 77 65 6c 6c 20 61 |vents, a|s well a|
|00005b40| 73 20 61 20 73 70 65 63 | 69 61 6c 20 74 79 70 65 |s a spec|ial type|
|00005b50| 20 6f 66 20 6d 6f 75 73 | 65 20 65 76 65 6e 74 2c | of mous|e event,|
|00005b60| 20 74 68 65 20 6d 6f 75 | 73 65 2d 6d 6f 76 65 64 | the mou|se-moved|
|00005b70| 20 65 76 65 6e 74 2c 20 | 61 72 65 20 6b 6e 6f 77 | event, |are know|
|00005b80| 6e 20 61 73 20 6f 70 65 | 72 61 74 69 6e 67 2d 73 |n as ope|rating-s|
|00005b90| 79 73 74 65 6d 20 65 76 | 65 6e 74 73 2e 0d 46 69 |ystem ev|ents..Fi|
|00005ba0| 67 75 72 65 20 31 2d 33 | 20 69 6c 6c 75 73 74 72 |gure 1-3| illustr|
|00005bb0| 61 74 65 73 20 68 6f 77 | 20 74 68 65 20 45 76 65 |ates how| the Eve|
|00005bc0| 6e 74 20 4d 61 6e 61 67 | 65 72 20 68 65 6c 70 73 |nt Manag|er helps|
|00005bd0| 20 70 72 6f 76 69 64 65 | 20 74 68 69 73 20 63 6f | provide| this co|
|00005be0| 6f 70 65 72 61 74 69 76 | 65 2c 20 6d 75 6c 74 69 |operativ|e, multi|
|00005bf0| 74 61 73 6b 69 6e 67 20 | 65 6e 76 69 72 6f 6e 6d |tasking |environm|
|00005c00| 65 6e 74 2e 20 54 68 65 | 20 50 72 6f 63 65 73 73 |ent. The| Process|
|00005c10| 20 4d 61 6e 61 67 65 72 | 20 67 65 6e 65 72 61 74 | Manager| generat|
|00005c20| 65 73 20 73 75 73 70 65 | 6e 64 2c 20 72 65 73 75 |es suspe|nd, resu|
|00005c30| 6d 65 2c 20 61 6e 64 20 | 6d 6f 75 73 65 2d 6d 6f |me, and |mouse-mo|
|00005c40| 76 65 64 20 65 76 65 6e | 74 73 20 61 6e 64 20 74 |ved even|ts and t|
|00005c50| 68 65 20 45 76 65 6e 74 | 20 4d 61 6e 61 67 65 72 |he Event| Manager|
|00005c60| 20 72 65 70 6f 72 74 73 | 20 74 68 65 73 65 20 65 | reports| these e|
|00005c70| 76 65 6e 74 73 20 74 6f | 20 61 70 70 6c 69 63 61 |vents to| applica|
|00005c80| 74 69 6f 6e 73 2e 0d 4f | 6e 20 63 6f 6d 70 75 74 |tions..O|n comput|
|00005c90| 65 72 73 20 72 75 6e 6e | 69 6e 67 20 73 79 73 74 |ers runn|ing syst|
|00005ca0| 65 6d 20 73 6f 66 74 77 | 61 72 65 20 76 65 72 73 |em softw|are vers|
|00005cb0| 69 6f 6e 20 36 2e 30 2c | 20 4d 75 6c 74 69 46 69 |ion 6.0,| MultiFi|
|00005cc0| 6e 64 65 72 20 70 72 6f | 76 69 64 65 73 20 74 68 |nder pro|vides th|
|00005cd0| 65 20 63 61 70 61 62 69 | 6c 69 74 69 65 73 20 73 |e capabi|lities s|
|00005ce0| 75 70 70 6c 69 65 64 20 | 62 79 20 74 68 65 20 50 |upplied |by the P|
|00005cf0| 72 6f 63 65 73 73 20 4d | 61 6e 61 67 65 72 20 69 |rocess M|anager i|
|00005d00| 6e 20 76 65 72 73 69 6f | 6e 20 37 2e 30 2e 20 4f |n versio|n 7.0. O|
|00005d10| 6e 20 63 6f 6d 70 75 74 | 65 72 73 20 72 75 6e 6e |n comput|ers runn|
|00005d20| 69 6e 67 20 76 65 72 73 | 69 6f 6e 20 36 2e 30 20 |ing vers|ion 6.0 |
|00005d30| 77 69 74 68 6f 75 74 20 | 4d 75 6c 74 69 46 69 6e |without |MultiFin|
|00005d40| 64 65 72 2c 20 6f 6e 6c | 79 20 61 20 73 69 6e 67 |der, onl|y a sing|
|00005d50| 6c 65 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 65 |le-appli|cation e|
|00005d60| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 69 73 20 73 75 |nvironme|nt is su|
|00005d70| 70 70 6f 72 74 65 64 2e | 20 3c 33 36 70 74 5c 3e |pported.| <36pt\>|
|00005d80| 5c 78 31 32 20 3c 38 62 | 61 74 5c 3e 75 0d 4f 70 |\x12 <8b|at\>u.Op|
|00005d90| 65 72 61 74 69 6e 67 2d | 73 79 73 74 65 6d 20 65 |erating-|system e|
|00005da0| 76 65 6e 74 73 20 0d 49 | 66 20 79 6f 75 72 20 61 |vents .I|f your a|
|00005db0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 73 65 74 73 20 |pplicati|on sets |
|00005dc0| 74 68 65 20 61 63 63 65 | 70 74 53 75 73 70 65 6e |the acce|ptSuspen|
|00005dd0| 64 52 65 73 75 6d 65 45 | 76 65 6e 74 73 20 61 6e |dResumeE|vents an|
|00005de0| 64 20 64 6f 65 73 41 63 | 74 69 76 61 74 65 4f 6e |d doesAc|tivateOn|
|00005df0| 46 47 53 77 69 74 63 68 | 20 66 6c 61 67 73 20 69 |FGSwitch| flags i|
|00005e00| 6e 20 69 74 73 20 27 53 | 49 5a 45 27 20 72 65 73 |n its 'S|IZE' res|
|00005e10| 6f 75 72 63 65 2c 20 79 | 6f 75 72 20 61 70 70 6c |ource, y|our appl|
|00005e20| 69 63 61 74 69 6f 6e 20 | 69 73 20 61 6c 73 6f 20 |ication |is also |
|00005e30| 72 65 73 70 6f 6e 73 69 | 62 6c 65 20 66 6f 72 20 |responsi|ble for |
|00005e40| 61 63 74 69 76 61 74 69 | 6e 67 20 6f 72 20 64 65 |activati|ng or de|
|00005e50| 61 63 74 69 76 61 74 69 | 6e 67 20 61 6e 79 20 77 |activati|ng any w|
|00005e60| 69 6e 64 6f 77 73 20 61 | 73 20 61 70 70 72 6f 70 |indows a|s approp|
|00005e70| 72 69 61 74 65 20 69 6e | 20 72 65 73 70 6f 6e 73 |riate in| respons|
|00005e80| 65 20 74 6f 20 6f 70 65 | 72 61 74 69 6e 67 2d 73 |e to ope|rating-s|
|00005e90| 79 73 74 65 6d 20 65 76 | 65 6e 74 73 2e 20 46 6f |ystem ev|ents. Fo|
|00005ea0| 72 20 6d 61 78 69 6d 75 | 6d 20 63 6f 6d 70 61 74 |r maximu|m compat|
|00005eb0| 69 62 69 6c 69 74 79 2c | 20 79 6f 75 72 20 61 70 |ibility,| your ap|
|00005ec0| 70 6c 69 63 61 74 69 6f | 6e 20 73 68 6f 75 6c 64 |plicatio|n should|
|00005ed0| 20 73 65 74 20 74 68 65 | 73 65 20 66 6c 61 67 73 | set the|se flags|
|00005ee0| 20 61 6e 64 20 68 61 6e | 64 6c 65 20 73 75 73 70 | and han|dle susp|
|00005ef0| 65 6e 64 20 61 6e 64 20 | 72 65 73 75 6d 65 20 65 |end and |resume e|
|00005f00| 76 65 6e 74 73 2e 20 53 | 65 65 20 d2 54 68 65 20 |vents. S|ee .The |
|00005f10| 27 53 49 5a 45 27 20 52 | 65 73 6f 75 72 63 65 2c |'SIZE' R|esource,|
|00005f20| d3 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 6e 20 70 |. beginn|ing on p|
|00005f30| 61 67 65 20 31 2d 31 31 | 36 20 66 6f 72 20 6d 6f |age 1-11|6 for mo|
|00005f40| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |re infor|mation o|
|00005f50| 6e 20 74 68 65 73 65 20 | 61 6e 64 20 6f 74 68 65 |n these |and othe|
|00005f60| 72 20 66 6c 61 67 73 20 | 69 6e 20 74 68 65 20 27 |r flags |in the '|
|00005f70| 53 49 5a 45 27 20 72 65 | 73 6f 75 72 63 65 2e 20 |SIZE' re|source. |
|00005f80| 3c 33 36 70 74 5c 3e 5c | 78 31 32 20 3c 38 62 61 |<36pt\>\|x12 <8ba|
|00005f90| 74 5c 3e 75 0d 57 68 65 | 6e 20 79 6f 75 72 20 61 |t\>u.Whe|n your a|
|00005fa0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 72 65 63 65 69 |pplicati|on recei|
|00005fb0| 76 65 73 20 61 20 73 75 | 73 70 65 6e 64 20 65 76 |ves a su|spend ev|
|00005fc0| 65 6e 74 2c 20 69 74 20 | 64 6f 65 73 20 6e 6f 74 |ent, it |does not|
|00005fd0| 20 61 63 74 75 61 6c 6c | 79 20 73 77 69 74 63 68 | actuall|y switch|
|00005fe0| 20 74 6f 20 74 68 65 20 | 62 61 63 6b 67 72 6f 75 | to the |backgrou|
|00005ff0| 6e 64 20 75 6e 74 69 6c | 20 69 74 20 6d 61 6b 65 |nd until| it make|
|00006000| 73 20 69 74 73 20 6e 65 | 78 74 20 72 65 71 75 65 |s its ne|xt reque|
|00006010| 73 74 20 74 6f 20 72 65 | 63 65 69 76 65 20 65 76 |st to re|ceive ev|
|00006020| 65 6e 74 73 20 66 72 6f | 6d 20 74 68 65 20 45 76 |ents fro|m the Ev|
|00006030| 65 6e 74 20 4d 61 6e 61 | 67 65 72 2e 20 41 74 20 |ent Mana|ger. At |
|00006040| 74 68 65 20 74 69 6d 65 | 20 74 68 61 74 20 69 74 |the time| that it|
|00006050| 20 72 65 63 65 69 76 65 | 73 20 74 68 65 20 73 75 | receive|s the su|
|00006060| 73 70 65 6e 64 20 65 76 | 65 6e 74 2c 20 79 6f 75 |spend ev|ent, you|
|00006070| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 73 68 |r applic|ation sh|
|00006080| 6f 75 6c 64 20 63 6f 6e | 76 65 72 74 20 61 6e 79 |ould con|vert any|
|00006090| 20 70 72 69 76 61 74 65 | 20 73 63 72 61 70 20 69 | private| scrap i|
|000060a0| 6e 74 6f 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 73 |nto the |global s|
|000060b0| 63 72 61 70 20 69 66 20 | 6e 65 63 65 73 73 61 72 |crap if |necessar|
|000060c0| 79 2e 20 59 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |y. Your |applicat|
|000060d0| 69 6f 6e 20 73 68 6f 75 | 6c 64 20 68 69 64 65 20 |ion shou|ld hide |
|000060e0| 73 63 72 6f 6c 6c 20 62 | 61 72 73 2c 20 72 65 6d |scroll b|ars, rem|
|000060f0| 6f 76 65 20 74 68 65 20 | 68 69 67 68 6c 69 67 68 |ove the |highligh|
|00006100| 74 69 6e 67 20 66 72 6f | 6d 20 61 6e 79 20 73 65 |ting fro|m any se|
|00006110| 6c 65 63 74 69 6f 6e 73 | 2c 20 61 6e 64 20 68 69 |lections|, and hi|
|00006120| 64 65 20 61 6e 79 20 66 | 6c 6f 61 74 69 6e 67 20 |de any f|loating |
|00006130| 77 69 6e 64 6f 77 73 2e | 20 49 66 20 79 6f 75 72 |windows.| If your|
|00006140| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 73 68 6f | applica|tion sho|
|00006150| 77 73 20 61 20 77 69 6e | 64 6f 77 20 74 68 61 74 |ws a win|dow that|
|00006160| 20 64 69 73 70 6c 61 79 | 73 20 74 68 65 20 43 6c | display|s the Cl|
|00006170| 69 70 62 6f 61 72 64 20 | 63 6f 6e 74 65 6e 74 73 |ipboard |contents|
|00006180| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 68 69 64 |, you sh|ould hid|
|00006190| 65 20 74 68 69 73 20 77 | 69 6e 64 6f 77 20 61 6c |e this w|indow al|
|000061a0| 73 6f 2e 20 54 68 65 6e | 20 79 6f 75 20 73 68 6f |so. Then| you sho|
|000061b0| 75 6c 64 20 63 61 6c 6c | 20 57 61 69 74 4e 65 78 |uld call| WaitNex|
|000061c0| 74 45 76 65 6e 74 20 74 | 6f 20 72 65 6c 69 6e 71 |tEvent t|o relinq|
|000061d0| 75 69 73 68 20 74 68 65 | 20 70 72 6f 63 65 73 73 |uish the| process|
|000061e0| 6f 72 20 61 6e 64 20 61 | 6c 6c 6f 77 20 74 68 65 |or and a|llow the|
|000061f0| 20 4f 70 65 72 61 74 69 | 6e 67 20 53 79 73 74 65 | Operati|ng Syste|
|00006200| 6d 20 74 6f 20 73 63 68 | 65 64 75 6c 65 20 6f 74 |m to sch|edule ot|
|00006210| 68 65 72 20 70 72 6f 63 | 65 73 73 65 73 20 66 6f |her proc|esses fo|
|00006220| 72 20 65 78 65 63 75 74 | 69 6f 6e 2e 20 49 74 20 |r execut|ion. It |
|00006230| 69 73 20 69 6d 70 6f 72 | 74 61 6e 74 20 74 6f 20 |is impor|tant to |
|00006240| 6d 69 6e 69 6d 69 7a 65 | 20 74 68 65 20 70 72 6f |minimize| the pro|
|00006250| 63 65 73 73 69 6e 67 20 | 79 6f 75 20 64 6f 20 69 |cessing |you do i|
|00006260| 6e 20 72 65 73 70 6f 6e | 73 65 20 74 6f 20 61 20 |n respon|se to a |
|00006270| 73 75 73 70 65 6e 64 20 | 65 76 65 6e 74 20 73 6f |suspend |event so|
|00006280| 20 74 68 61 74 20 74 68 | 65 20 6d 61 63 68 69 6e | that th|e machin|
|00006290| 65 20 61 70 70 65 61 72 | 73 20 72 65 73 70 6f 6e |e appear|s respon|
|000062a0| 73 69 76 65 20 74 6f 20 | 74 68 65 20 75 73 65 72 |sive to |the user|
|000062b0| 2e 0d 57 68 65 6e 20 63 | 6f 6e 74 72 6f 6c 20 72 |..When c|ontrol r|
|000062c0| 65 74 75 72 6e 73 20 74 | 6f 20 79 6f 75 72 20 61 |eturns t|o your a|
|000062d0| 70 70 6c 69 63 61 74 69 | 6f 6e 2c 20 74 68 65 20 |pplicati|on, the |
|000062e0| 66 69 72 73 74 20 65 76 | 65 6e 74 20 69 74 20 72 |first ev|ent it r|
|000062f0| 65 63 65 69 76 65 73 20 | 69 73 20 61 20 72 65 73 |eceives |is a res|
|00006300| 75 6d 65 20 65 76 65 6e | 74 2e 20 59 6f 75 72 20 |ume even|t. Your |
|00006310| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 73 68 6f 75 |applicat|ion shou|
|00006320| 6c 64 20 63 6f 6e 76 65 | 72 74 20 74 68 65 20 67 |ld conve|rt the g|
|00006330| 6c 6f 62 61 6c 20 73 63 | 72 61 70 20 62 61 63 6b |lobal sc|rap back|
|00006340| 20 74 6f 20 69 74 73 20 | 70 72 69 76 61 74 65 20 | to its |private |
|00006350| 73 63 72 61 70 2c 20 69 | 66 20 6e 65 63 65 73 73 |scrap, i|f necess|
|00006360| 61 72 79 2e 20 59 6f 75 | 72 20 61 70 70 6c 69 63 |ary. You|r applic|
|00006370| 61 74 69 6f 6e 20 73 68 | 6f 75 6c 64 20 61 6c 73 |ation sh|ould als|
|00006380| 6f 20 72 65 73 74 6f 72 | 65 20 61 6e 79 20 77 69 |o restor|e any wi|
|00006390| 6e 64 6f 77 73 20 74 6f | 20 74 68 65 20 73 74 61 |ndows to| the sta|
|000063a0| 74 65 20 74 68 65 20 75 | 73 65 72 20 6c 65 66 74 |te the u|ser left|
|000063b0| 20 74 68 65 6d 20 69 6e | 20 61 74 20 74 68 65 20 | them in| at the |
|000063c0| 74 69 6d 65 20 6f 66 20 | 74 68 65 20 70 72 65 76 |time of |the prev|
|000063d0| 69 6f 75 73 20 73 75 73 | 70 65 6e 64 20 65 76 65 |ious sus|pend eve|
|000063e0| 6e 74 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |nt. For |example,|
|000063f0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.